search for: dryrun

Displaying 20 results from an estimated 108 matches for "dryrun".

2005 Jun 23
5
[PATCH] Fix vnc-dryrun option interaction
A patch that was applied yesterday tried to turn the vnc option off if dryrun was set. Unfortunately, the way it was actually coded turned vnc ON if dryrun was not set! I think this patch should fix it (someone who actually uses vnc & dryrun should test it, though). -George +-------------------+---------------------------------------- | dunlapg@umich.edu | http:/...
2002 May 23
0
protocol errors when using --dryrun
Hi there, I've had a look on the web, and in the archives, but I dont see any mention to this problem/feature. Essentially, I have a local mirror, and a live webserver, with a little script that will execute a --dryrun rsync, ask the user for confirmation, then go ahead and transfer the local updates to the live server. The problem Im having is when Im sync'ing newly generated directories. The dryrun command fails, spews, then complains about unexpect connection closures. Here's my dryrun command; rsyn...
2012 Nov 05
2
Invoking rsync from a script with null parameters
I'm working on a bash backup script using rsync. (kubuntu precise 12.04, rsync 3.0.9-1ubuntu1) To avoid having a number of slightly different rsync commands, I would like to use shell variables as part of the rsync command. I.e.: DRYRUN="-n" rsync "${DRYRUN}" more parameters ... This does not work if DRYRUN="" - apparently because this command becomes rsync "" more parameters ... instead of rsync more parameters ... and rsync uses the null parameter for something and does not perform as ex...
2015 Aug 28
1
[PATCH] handle --debug-gc universally via at_exit hook
...55c90..03c97e4 100644 --- a/customize/customize_main.ml +++ b/customize/customize_main.ml @@ -39,7 +39,6 @@ let main () = | s -> attach_format := Some s in let attach_disk s = attach := (!attach_format, s) :: !attach in - let debug_gc = ref false in let domain = ref None in let dryrun = ref false in let files = ref [] in @@ -79,7 +78,7 @@ let main () = "format" ^ " " ^ s_"Set attach disk format"; "-c", Arg.Set_string libvirturi, s_"uri" ^ " " ^ s_"Set libv...
2005 Jun 21
0
[PATCH] novnc-dryrun.patch
...run Sharma <arun.sharma@intel.com> --- a/tools/python/xen/xm/create.py Tue Jun 21 19:12:48 2005 +++ b/tools/python/xen/xm/create.py Tue Jun 21 13:50:09 2005 @@ -618,6 +618,7 @@ config = opts.vals.config else: opts.load_defconfig() + opts.vals.vnc = not opts.vals.dryrun preprocess(opts, opts.vals) if not opts.getopt(''name'') and opts.getopt(''defconfig''): opts.setopt(''name'', os.path.basename(opts.getopt(''defconfig''))) ______________________________________________...
2015 Dec 14
4
[PATCH 0/2] resize: Split out the command line parsing into Cmdline
Some simple refactoring of virt-resize. I originally had the idea that we could turn virt-resize into a library (cf. virt-customize) and use it from virt-builder, but I now don't think that would make any meaningful difference. In particular we'd still have to open the handle the same number of times. These two patches are left over from my work on that. Rich.
2001 Dec 11
1
permissions in dryrun mode
I was glad to see a new version of rsync because I though that it was kind of dead. :-) Anyway, I just checked and noticed that the following isn't fixed yet, or is considered a feature. When run in dry-run mode, rsync doesnt report diffs in permissions and ownership. IMHO this is not the expected and wanted behaviour, I want to see exactly what it would do without the '-n'. I have
2013 Jun 30
18
Xen 4.2.2 /etc/init.d/xendomains save and restore of domains does not work
...EGIN Attachment ------------------------------------------------- > diff -u .xendomains.original xendomains --- .xendomains.original 2013-06-25 07:42:29.000000000 +0200 +++ xendomains 2013-06-30 10:48:06.000000000 +0200 @@ -182,7 +182,7 @@ rdname() { NM=$($CMD create --quiet --dryrun --defconfig "$1" | - sed -n ''s/^.*(name \(.*\))$/\1/p'') + sed -n ''s/^.*"name": "\(.*\)",$/\1/p'') } rdnames() @@ -254,8 +254,8 @@ saved_domains=`ls $XENDOMAINS_SAVE` for dom in $XENDOMAINS_SAVE/...
2002 Apr 03
3
metadata in dryrun mode
As I reported a while back rsync doesn't handle metadata (permissions and ownership) in dryrun mode. I offered to make a patch and that offer still stands. I didn't have the time for it until now and want to pick it up again. I had some ugly hack back then but I want to redo it in a clean way. I would like some input on my thoughts. IMHO, it would be ideally if the check for dry_run w...
2004 Aug 05
4
newest up2date rpm
...i ran up2date -fu for the kernel/kernel-source updates Testing package set / solving RPM inter-dependencies... Traceback (most recent call last): File "/usr/sbin/up2date", line 1174, in ? sys.exit(main() or 0) File "/usr/sbin/up2date", line 772, in main fullUpdate, dryRun=options.dry_run)) File "/usr/sbin/up2date", line 1066, in batchRun batch.run() File "up2dateBatch.py", line 74, in run File "up2dateBatch.py", line 159, in __dryRun File "up2date.py", line 395, in dryRun File "depSolver.py", line 357,...
2011 Apr 18
7
[PATCH] tools: xl: on create, if debug && !daemonize, wait for domain destroy in the foreground
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1303143831 -3600 # Node ID 31b98feb0eb6a50fe9e664a31feaa32ad3dac7cc # Parent 05abea47f4dc670974cd513a0e74db54d22eacc9 tools: xl: on create, if debug && !daemonize, wait for domain destroy in the foreground Perhaps this should be a separate option but I find that when I''m debugging xl in the
2018 Aug 07
3
Best practices for backing up small mailserver to remote location
My webserver also houses our mailserver. There's about six users on that mail system and I'm thinking it would be good to back up the mailboxes to my always on HTPC computer at home, which is reachable via a dynamic IP service. I know (or think) I need to use doveadm-backup for this but rather than reinvent the wheel (or use the wrong wheel altogether) I'm wondering if anyone can
2012 Mar 20
5
[PATCH] Add vncviewer xm compatibility options the 'xl create' command
...' command Signed-off-by: Goncalo Gomes <goncalo.gomes@eu.citrix.com> diff -r 4e1d091d10d8 -r 46f8afe643de tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri Mar 16 15:24:25 2012 +0000 +++ b/tools/libxl/xl_cmdimpl.c Tue Mar 20 15:36:49 2012 +0000 @@ -1347,6 +1347,8 @@ int dryrun; int quiet; int console_autoconnect; + int vncviewer; + int vncviewer_autopass; const char *config_file; const char *extra_config; /* extra config string */ const char *restore_file; @@ -3306,11 +3308,12 @@ int main_create(int argc, char **argv) { const char *f...
2018 Aug 09
2
Best practices for backing up small mailserver to remote location
...free of script kiddy noise from people looking for an ssh connection to crack. Run fail2ban to lock out the remaining script kiddies. Use a client certificate to log in with ssh unprompted, making it easy to download in a cron job. Here's an example of scripting the download. Uncomment the DRYRUN line for testing, then comment for production. Add more rsync commands to back up different partitions. The --one-file-system prevents rsync from trying to back up /dev, /proc, and /sys. The --delete option will remove local files that were deleted on the remote server. Use that set of options...
2016 Jun 13
0
[PATCH] sysprep: Enable the network, add --no-network to disable it (RHBZ#1345813).
...ot; " ^ s_"Compatibility option, does nothing"; "--operation", Arg.String set_operations, " " ^ s_"Enable/disable specific operations"; @@ -192,6 +195,7 @@ read the man page virt-sysprep(1). (* Dereference the rest of the args. *) let dryrun = !dryrun in + let network = !network in let operations = !operations in (* At this point we know which operations are enabled. So call the @@ -212,6 +216,7 @@ read the man page virt-sysprep(1). (* Connect to libguestfs. *) let g = open_guestfs () in + g#set_network n...
2015 Aug 31
2
[PATCH 1/2] mllib: add and use set_standard_options
...ptions argspec in let args = ref [] in let anon_fun s = args := s :: !args in diff --git a/customize/customize_main.ml b/customize/customize_main.ml index 03c97e4..459e98a 100644 --- a/customize/customize_main.ml +++ b/customize/customize_main.ml @@ -85,8 +85,6 @@ let main () = "--dryrun", Arg.Set dryrun, " " ^ s_"Perform a dry run"; "--dry-run", Arg.Set dryrun, " " ^ s_"Perform a dry run"; "--format", Arg.String set_format, s_"format" ^ " " ^ s_"Set forma...
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 Jun 13
2
[PATCH] sysprep: Enable the network, add --no-network to disable it
This is just one possible way to fix this bug, but the simplest. Others I considered: - Keeping the network disabled by default. Options like --install wouldn't work and there would be no actionable error message telling users what to do to fix it. - Modifying virt-customize to warn/error/suggest if operations like --install were used but the network was disabled. However
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...;-d", Arg.String set_domain, s_"domain" ^ " " ^ s_"Set libvirt guest name"; > - "--domain", Arg.String set_domain, s_"domain" ^ " " ^ s_"Set libvirt guest name"; > - "-n", Arg.Set dryrun, " " ^ s_"Perform a dry run"; > - "--dryrun", Arg.Set dryrun, " " ^ s_"Perform a dry run"; > - "--dry-run", Arg.Set dryrun, " " ^ s_"Perform a dry run"; > - "--fo...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...- "-d", Arg.String set_domain, s_"domain" ^ " " ^ s_"Set libvirt guest name"; - "--domain", Arg.String set_domain, s_"domain" ^ " " ^ s_"Set libvirt guest name"; - "-n", Arg.Set dryrun, " " ^ s_"Perform a dry run"; - "--dryrun", Arg.Set dryrun, " " ^ s_"Perform a dry run"; - "--dry-run", Arg.Set dryrun, " " ^ s_"Perform a dry run"; - "--format", Ar...