search for: config_fil

Displaying 20 results from an estimated 238 matches for "config_fil".

Did you mean: config_file
2018 Dec 03
4
[supermin PATCH 0/2] Create a really empty base.tar.gz
See patch #2 for more explanation. Pino Toscano (2): prepare: keep config_files available for longer prepare: create a really empty base.tar.gz with no config files src/mode_prepare.ml | 87 +++++++++++++++++++++++++++------------------ 1 file changed, 52 insertions(+), 35 deletions(-) -- 2.17.2
2018 Dec 03
0
[supermin PATCH 1/2] prepare: keep config_files available for longer
...index 7c8221e..7759c58 100644 --- a/src/mode_prepare.ml +++ b/src/mode_prepare.ml @@ -128,28 +128,28 @@ let prepare debug (copy_kernel, format, host_cpu, * be missing either from the package or from the filesystem (the * latter case with --use-installed). *) - let files_from = - let config_files = - List.map ( - fun (_, files) -> - filter_map ( - function - | { ft_config = true; ft_path = path } -> Some path - | { ft_config = false } -> None - ) files - ) packages in - let config_files = List.flatten config_f...
2018 Dec 03
4
[supermin PATCH v2 0/3] Better handle no config files
...to include in an appliance Compared to the two series, the changes are: - patch #1 has a mention of a reproducer in the commit message - patch #3 changed approach, from "create really empty" to "not create at all" Pino Toscano (3): build: ignore empty files prepare: keep config_files available for longer prepare: do not create base.tar.gz with no config files src/mode_build.ml | 7 +++- src/mode_prepare.ml | 83 +++++++++++++++++++++++++-------------------- 2 files changed, 52 insertions(+), 38 deletions(-) -- 2.17.2
2012 May 15
6
[PATCH 0 of 2 v2] Add vncviewer xm compatibility options
Changes since v1: - Removed libxl vncviewer related dependencies - The vncviewer function was modified to accept a domid instead of domspec; - main_vncviewer was updated to reflect the new use. - A domain_create structure is now passed to the parse_config_data where required/feasible (NULL otherwise) - xl restore now have long options for vncviewer/vncviewer-autopass; docs updated. - Updated
2016 Nov 01
3
[PATCH v3] v2v: bootloaders: search grub config for all distributions
...en + Some Grub1 + else + None + +(* Where to start searching for bootloaders. *) +let bootloader_mountpoint = function + | { i_firmware = I_BIOS } -> "/boot" + | { i_firmware = I_UEFI _ } -> "/boot/efi/EFI" + let detect_bootloader (g : G.guestfs) inspect = - let config_file, typ = - let locations = [ - "/boot/grub2/grub.cfg", Grub2; - "/boot/grub/grub.cfg", Grub2; - "/boot/grub/menu.lst", Grub1; - "/boot/grub/grub.conf", Grub1; - ] in - let locations = - match inspect.i_firmware with - | I...
2017 Apr 28
0
Re: [PATCH v6 1/1] v2v: bootloaders: search grub config for all distributions
...G.guestfs) grub_config = > +class bootloader_grub2 (g : G.guestfs) inspect grub_config = NACK, see below. > > let grub2_mkconfig_cmd = > let elems = [ > @@ -335,33 +346,46 @@ object (self) > end > > let detect_bootloader (g : G.guestfs) inspect = > - let config_file, typ = > - let locations = [ > - "/boot/grub2/grub.cfg", Grub2; > - "/boot/grub/grub.cfg", Grub2; > - "/boot/grub/menu.lst", Grub1; > - "/boot/grub/grub.conf", Grub1; > - ] in > - let locations = > -...
2017 Apr 28
0
Re: [PATCH v6 1/1] v2v: bootloaders: search grub config for all distributions
...> > > >NACK, see below. > > > >> > >> let grub2_mkconfig_cmd = > >> let elems = [ > >>@@ -335,33 +346,46 @@ object (self) > >> end > >> > >> let detect_bootloader (g : G.guestfs) inspect = > >>- let config_file, typ = > >>- let locations = [ > >>- "/boot/grub2/grub.cfg", Grub2; > >>- "/boot/grub/grub.cfg", Grub2; > >>- "/boot/grub/menu.lst", Grub1; > >>- "/boot/grub/grub.conf", Grub1; > >>...
2016 Oct 31
0
Re: [PATCH] v2v: bootloaders: search grub config for all distributions
...deletions(-) > > diff --git a/v2v/linux_bootloaders.ml b/v2v/linux_bootloaders.ml > index e03d22b..210c273 100644 > --- a/v2v/linux_bootloaders.ml > +++ b/v2v/linux_bootloaders.ml > @@ -335,32 +335,44 @@ end > > let detect_bootloader (g : G.guestfs) inspect = > let config_file, typ = > - let locations = [ > - "/boot/grub2/grub.cfg", Grub2; > - "/boot/grub/grub.cfg", Grub2; > - "/boot/grub/menu.lst", Grub1; > - "/boot/grub/grub.conf", Grub1; > + let grub_configs = [ > + "grub...
2008 May 28
1
Search&replace string?
...#... #... Param1= V1_i #... Param2 = V2_i Param3 = V3_i #... For the moment my solution is to read each line of the config file, modify if needed the line and recopy it in the new file. But the problem is that my file is about 500 lines and I would like to create a lot of different version of Config_file from my Base file so with this method it takes a long time and i'm sure i can improve it. (For example for 85 differents files I have to wait 10min...) My dream would be a function like this one : Function <- function(Base_file, Param_array, Value_array) { file.copy(Base_file, Config_...
2020 Sep 23
0
[v2v PATCH 3/3] linux: remove special handling of packages with no files
...) + let modules = List.filter_map ( + fun m -> + if PCRE.matches rex_ko_extract m then + Some (PCRE.sub 1) + else + None + ) modules in + assert (List.length modules > 0); - let config_file = - let cfg = "/boot/config-" ^ version in - if g#is_file ~followsymlinks:true cfg then Some cfg - else None in + let config_file = + let cfg = "/boot/config-" ^ version in + if g#is_file ~followsymlink...
2012 Oct 12
3
[PATCH] explicitly use escaped minus in man pages
...2 files changed, 33 insertions(+), 33 deletions(-) diff --git a/man/man1/unicorn.1 b/man/man1/unicorn.1 index 0b496af..749272a 100644 --- a/man/man1/unicorn.1 +++ b/man/man1/unicorn.1 @@ -4,7 +4,7 @@ unicorn - a rackup-like command to launch the Unicorn HTTP server .SH SYNOPSIS .PP -unicorn [-c CONFIG_FILE] [-E RACK_ENV] [-D] [RACKUP_FILE] +unicorn [\-c CONFIG_FILE] [\-E RACK_ENV] [\-D] [RACKUP_FILE] .SH DESCRIPTION .PP A rackup(1)-like command to launch Rack applications using Unicorn. @@ -26,7 +26,7 @@ Embedded command-line options are mostly parsed for compatibility with rackup(1) but strongl...
2016 Nov 10
0
[PATCH v5 1/3] v2v: bootloaders: search grub config for all distributions
.... *) (* Grub2 representation. *) -class bootloader_grub2 (g : G.guestfs) grub_config = +class bootloader_grub2 (g : G.guestfs) inspect grub_config = let grub2_mkconfig_cmd = let elems = [ @@ -334,33 +342,46 @@ object (self) end let detect_bootloader (g : G.guestfs) inspect = - let config_file, typ = - let locations = [ - "/boot/grub2/grub.cfg", Grub2; - "/boot/grub/grub.cfg", Grub2; - "/boot/grub/menu.lst", Grub1; - "/boot/grub/grub.conf", Grub1; - ] in - let locations = - match inspect.i_firmware with - | I...
2016 Nov 01
0
Re: [PATCH v3] v2v: bootloaders: search grub config for all distributions
...ction > + | { i_firmware = I_BIOS } -> "/boot" > + | { i_firmware = I_UEFI _ } -> "/boot/efi/EFI" It seems to be used only once, so I'd just put it inline below (it's small to read). > + > let detect_bootloader (g : G.guestfs) inspect = > - let config_file, typ = > - let locations = [ > - "/boot/grub2/grub.cfg", Grub2; > - "/boot/grub/grub.cfg", Grub2; > - "/boot/grub/menu.lst", Grub1; > - "/boot/grub/grub.conf", Grub1; > - ] in > - let locations = > -...
2020 Sep 23
3
[v2v PATCH 1/3] linux: remove warning for packages with no files
Metapackages are valid packages with no files, used to easily install something without manually installing bits. This is the case of the "kernel" package in Fedora/RHEL/etc in the last couple of years. --- v2v/linux_kernels.ml | 1 - 1 file changed, 1 deletion(-) diff --git a/v2v/linux_kernels.ml b/v2v/linux_kernels.ml index 9a41225a..78c1ee59 100644 --- a/v2v/linux_kernels.ml +++
2017 May 02
2
[PATCH] v2v: bootloaders: search grub config for all distributions
...= [||] then + g#aug_transform "grub" grub_config in + (* Grub prefix? Usually "/boot". *) let grub_prefix = let mounts = g#inspect_get_mountpoints inspect.i_root in @@ -335,33 +342,46 @@ object (self) end let detect_bootloader (g : G.guestfs) inspect = - let config_file, typ = - let locations = [ - "/boot/grub2/grub.cfg", Grub2; - "/boot/grub/grub.cfg", Grub2; - "/boot/grub/menu.lst", Grub1; - "/boot/grub/grub.conf", Grub1; - ] in - let locations = - match inspect.i_firmware with - | I...
2017 Jan 04
2
Amavis on Centosl help
I'm moving from Ubuntu to CentOS 7 Previously, on Ubuntu, installing amavisd would lead to etc/amavis/conf.d that contained: 01-debian 05-domain_id 05-node_id 15-av_scanners 15-content_filter_mode 20-debian_defaults 21-ubuntu_defaults 25-amavis_helpers 30-template_localization 40-policy_banks 50-user However installing amavisd on centos leads to a spaghetti config file (i.e.
2008 May 21
2
Search a string and modify it in a .txt file
...values for each parameter. I have an array like this one PA1 PA2 PA3 PB1 .... j=1 12 2 1 5 j=2 10 3 2 4 j=3 11 4 3 6 ... To create each file I use : for (j in 1:Nb_config_file) { file.copy("fichier_init",paste("Config_file",j,sep="")) } How can I do to search in each config file j created to modify the values of the parameters according to the j-th row of the array? I thought about looking for the lines "'Parameter'...
2010 Apr 08
1
[PATCH] Move all interaction with the config file into Sys::VirtV2V::Config
...use Sys::VirtV2V; +use Sys::VirtV2V::Config; use Sys::VirtV2V::Converter; use Sys::VirtV2V::Connection::LibVirt; use Sys::VirtV2V::Connection::LibVirtXML; @@ -215,21 +214,7 @@ GetOptions ("help|?" => sub { # Read the config file if one was given my $config; -if(defined($config_file)) { - # Check we can access the config file - die(user_message(__x("Config file {path} doesn't exist", - path => $config_file))) unless (-e $config_file); - - die(user_message(__x("Don't have permissions to read {path}", -...
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2008 Jun 09
2
cruisecontrol integration
...plugins/backgroundrb/init.rb:2:in `evaluate_init_rb'' ... 11 levels... ....................... I looked at the line in question (~/vendor/plugins/backgroundrb/lib/backgroundrb/bdrb_config.rb:38) and added some output to see what is going on lines 28-32::: def self.read_config(config_file) #my debugging info.. puts config_file puts File.exist?(config_file) puts IO.read(config_file) puts YAML.load(ERB.new(IO.read(config_file)).result) config = YAML.load(ERB.new(IO.read(config_file)).result) environment = RAILS_ENV.to_sym File.exists says it sees my co...