Message ID | 1262851842-3885-1-git-send-email-sshang@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/client/tests/kvm/scripts/unattended.py b/client/tests/kvm/scripts/unattended.py index 562d317..ee20b60 100755 --- a/client/tests/kvm/scripts/unattended.py +++ b/client/tests/kvm/scripts/unattended.py @@ -91,6 +91,8 @@ class UnattendedInstall(object): shutil.copyfile(setup_file_path, setup_file_dest) elif self.unattended_file.endswith('.ks'): dest_fname = 'ks.cfg' + elif self.unattended_file.endswith('.xml'): + dest_fname = "autounattend.xml" dest = os.path.join(self.floppy_mount, dest_fname) shutil.copyfile(self.unattended_file, dest)