diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2008-01-10 11:19:46 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2008-01-10 11:19:46 -0500 |
commit | c2d12b94867d9c02ca5ace4195975ac9c97325d5 (patch) | |
tree | 90460b6ad234463bc3e8424fc0f8583df085e4f7 /cobbler/modules | |
parent | b29a6c5cb670673440ccca7b656205a4351a0ca1 (diff) | |
download | third_party-cobbler-c2d12b94867d9c02ca5ace4195975ac9c97325d5.tar.gz third_party-cobbler-c2d12b94867d9c02ca5ace4195975ac9c97325d5.tar.xz third_party-cobbler-c2d12b94867d9c02ca5ace4195975ac9c97325d5.zip |
Added --rsync-flags to cobbler import.
Diffstat (limited to 'cobbler/modules')
-rw-r--r-- | cobbler/modules/cli_misc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cobbler/modules/cli_misc.py b/cobbler/modules/cli_misc.py index a655f35..881787b 100644 --- a/cobbler/modules/cli_misc.py +++ b/cobbler/modules/cli_misc.py @@ -77,6 +77,7 @@ class ImportFunction(commands.CobblerFunction): p.add_option("--name", dest="name", help="name, ex 'RHEL-5', (REQUIRED)") p.add_option("--available-as", dest="available_as", help="do not mirror, use this as install tree") p.add_option("--kickstart", dest="kickstart_file", help="use the kickstart file specified as the profile's kickstart file") + p.add_option("--rsync-flags", dest="rsync_flags", help="pass additional flags to rsync") def run(self): if not self.options.mirror: @@ -87,7 +88,8 @@ class ImportFunction(commands.CobblerFunction): self.options.mirror, self.options.name, network_root=self.options.available_as, - kickstart_file=self.options.kickstart_file + kickstart_file=self.options.kickstart_file, + rsync_flags=self.options.rsync_flags ) |