Signed-off-by: sshang <[email protected]>
---
client/tests/kvm/scripts/unattended.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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)
--
1.5.3.6
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html