search for: scriptdir

Displaying 20 results from an estimated 32 matches for "scriptdir".

2012 Apr 11
1
[PATCH] sysprep: align the help message
...c 100644 --- a/sysprep/sysprep_operation_script.ml +++ b/sysprep/sysprep_operation_script.ml @@ -133,7 +133,7 @@ guest's DNS configuration file, but C<rm /etc/resolv.conf> would Normally a temporary mount point for the guest is used, but you can choose a specific one by using the I<--scriptdir> parameter."; extra_args = [ - ("--scriptdir", Arg.String set_scriptdir, "dir Mount point on host"), + ("--scriptdir", Arg.String set_scriptdir, "dir\tMount point on host"), "\ The mount point (an empty directory on the host) used...
2007 Oct 26
1
Accessing scripts in a different directory on a Mac
Hi all. A question for knowledgeable folks using R on an Intel Mac running OS X 10.4.10 For ease of maintenance, I have broken a large R script into a main script which ?oversees? things by calling other scripts, using ?source?. Let?s call the secondary scripts ?sub-scripts.? I?d like for the sub-scripts to reside in a different directory (again, for ease of maintenance, and so I can access
2014 Jul 07
2
Re: [PATCH] Use Mkdtemp.temp_dir instead of Mkdtemp.mkdtemp
...script.ml b/sysprep/sysprep_operation_script.ml > index d486a88..06d4dfc 100644 > --- a/sysprep/sysprep_operation_script.ml > +++ b/sysprep/sysprep_operation_script.ml > @@ -44,7 +44,7 @@ let rec script_perform ~verbose ~quiet (g : Guestfs.guestfs) root side_effects = > match !scriptdir with > | Some dir -> dir, false > | None -> > - let tmpdir = Mkdtemp.mkdtemp (Filename.temp_dir_name // "virt-sysprep.XXXXXX") in > + let tmpdir = Mkdtemp.temp_dir "virt-sysprep." "" in > tmpdir, true in ACK bo...
2014 Jul 07
2
[PATCH] mllib: introduce Mkdtemp.temp_dir
Add a simple function to ease the usage of Mkdtemp.mkdtemp. --- mllib/mkdtemp.ml | 5 +++++ mllib/mkdtemp.mli | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/mllib/mkdtemp.ml b/mllib/mkdtemp.ml index 2e64862..353b04b 100644 --- a/mllib/mkdtemp.ml +++ b/mllib/mkdtemp.ml @@ -16,4 +16,9 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. *) +open Common_utils +
2009 Jan 09
1
snow and different R versions
...t;/home/gabor/software/lib64/R" $rlibs R_LIBS "/usr/lib64/R/library:/usr/share/R/library" $rprog [1] "/home/gabor/software/lib64/R/bin/R" $rscript [1] "/home/gabor/software/lib64/R/bin/Rscript" $rshcmd [1] "ssh" $scriptdir [1] "/home/gabor/.R/library/snow" $snowlib [1] "/home/gabor/.R/library" $timeout [1] 31536000 $type [1] "MPI" $user user "gabor" $useRscript [1] TRUE but snow still starts a different version, the one in /usr/bin/R. Is this a bug? If not, how can I t...
2010 Oct 29
1
NetWorkSpace from REvolution; Distributed Computing setup questions
...ting it up on a linux machine. Ultimately I would like to get this working in Windows/Cygwin.) ***Section 2*** The function I used to start the sleigh is: s=sleigh( + nwsHost="172.30.xx.xx", + nwsPort=8765, + launch=sshcmd, + nodeList=c("10.85.xxx.xxx"), + scriptExec=envcmd, + scriptDir="/usr/local/lib/R/site-library/nws/bin", + scriptName="RNWSSleighWorker.sh", + workingDir='~/tmp/', + logDir='~/tmp/', + outfile="outfileTest", + user="tj") This function returns the message below and then clear command prompt: Executing com...
2004 Jul 10
6
where does R search when source()?
Exactly where does R search for foo.R if I type source("foo.R")? Only from current working directory (same as getwd()), from all directories specified by e.g. $PATH? Thanks. Daehyok Shin
2004 Jul 10
6
where does R search when source()?
Exactly where does R search for foo.R if I type source("foo.R")? Only from current working directory (same as getwd()), from all directories specified by e.g. $PATH? Thanks. Daehyok Shin
2009 Mar 28
1
APCUPSD port 3551 permission problem
...nd passphrase are the # credentials for which the card has been # configured. # #UPSTYPE apcsmart #DEVICE /dev/ttyS0 UPSTYPE usb DEVICE # LOCKFILE <path to lockfile> # Path for device lock file. Not used on Win32. LOCKFILE /var/lock # SCRIPTDIR <path to script directory> # Directory in which apccontrol and event scripts are located. SCRIPTDIR /etc/apcupsd # PWRFAILDIR <path to powerfail directory> # Directory in which to write the powerfail flag file. This file # is created when apcupsd initiates a system shutdown and i...
2012 Aug 16
5
[PATCH 0/4] Add customization capabilities to virt-sysprep
In the TODO file there's a discussion of perhaps writing a new 'virt-customize' tool. I think it's probably better (or at any rate, easier) to just add this functionality into virt-sysprep. That is what this small series of patches aims to achieve. Note these are not very well tested at the moment. The first patch adds a generic and useful '--firstboot' flag. The
2007 Jul 02
3
Bacula in CentOS 5
Hi all, I'm planning to use Bacula in production environment. I've seen the Bacula packages are not provided neither by any official repo nor any third popular repo (as rpmforge). ?Anyone use bacula in CentOS 5? -- Thanks, Jordi Espasa Clofent
2012 Apr 30
5
[PATCH 0/4 v1] Remove gettextify, implement OCaml gettext.
Version 1 of the patch, for discussion, but not to be applied. It does work, but needs a lot more testing. This removes all the psychopathic gettextify cruft, and replaces it with a 99 line Makefile.am. A large win, I think. The third patch implements gettext support in the OCaml tools. The fourth patch is just for illustration. It shows the consequent changes to libguestfs.pot and the po
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...rep_operation @@ -129,7 +130,7 @@ B<Note:> This is different from I<--firstboot> scripts (which run in the context of the guest when it is booting first time). I<--script> scripts run on the host, not in the guest."); extra_args = [ - { extra_argspec = [ "--scriptdir" ], Getopt.String (s_"dir", set_scriptdir), s_"Mount point on host"; + { extra_argspec = [ L"scriptdir" ], Getopt.String (s_"dir", set_scriptdir), s_"Mount point on host"; extra_pod_argval = Some "SCRIPTDIR"; ex...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2: - Further fixes to Getopt int parsing. - Completed the L/S changes. - Fixed the test suite so it passes now. Also we don't need the special-case tests for 64 bit arch. Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4: - Pushed the first patch upstream since it was ACKed. - Prevent use of M except for the special virt-v2v options. - Sort the options after added --help etc. - Make corresponding fixes to the tests. Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3: - Add M variant and test it. Rich.
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...-129,7 +129,7 @@ B<Note:> This is different from I<--firstboot> scripts (which run > in the context of the guest when it is booting first time). > I<--script> scripts run on the host, not in the guest."); > extra_args = [ > - { extra_argspec = "--scriptdir", Arg.String set_scriptdir, s_"dir" ^ " " ^ s_"Mount point on host"; > + { extra_argspec = [ "--scriptdir" ], Getopt.String (s_"dir", set_scriptdir), s_"Mount point on host"; > extra_pod_argval = Some "SCRIPTD...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...eration_script.ml @@ -129,7 +129,7 @@ B<Note:> This is different from I<--firstboot> scripts (which run in the context of the guest when it is booting first time). I<--script> scripts run on the host, not in the guest."); extra_args = [ - { extra_argspec = "--scriptdir", Arg.String set_scriptdir, s_"dir" ^ " " ^ s_"Mount point on host"; + { extra_argspec = [ "--scriptdir" ], Getopt.String (s_"dir", set_scriptdir), s_"Mount point on host"; extra_pod_argval = Some "SCRIPTDIR";...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...eration_script.ml @@ -129,7 +129,7 @@ B<Note:> This is different from I<--firstboot> scripts (which run in the context of the guest when it is booting first time). I<--script> scripts run on the host, not in the guest."); extra_args = [ - { extra_argspec = "--scriptdir", Arg.String set_scriptdir, s_"dir" ^ " " ^ s_"Mount point on host"; + { extra_argspec = [ "--scriptdir" ], Getopt.String (s_"dir", set_scriptdir), s_"Mount point on host"; extra_pod_argval = Some "SCRIPTDIR";...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...eration_script.ml @@ -129,7 +129,7 @@ B<Note:> This is different from I<--firstboot> scripts (which run in the context of the guest when it is booting first time). I<--script> scripts run on the host, not in the guest."); extra_args = [ - { extra_argspec = "--scriptdir", Arg.String set_scriptdir, s_"dir" ^ " " ^ s_"Mount point on host"; + { extra_argspec = [ "--scriptdir" ], Getopt.String (s_"dir", set_scriptdir), s_"Mount point on host"; extra_pod_argval = Some "SCRIPTDIR";...