Cleaner and generic way to set Qemu & IOU VM settings.

This commit is contained in:
grossmj committed 2015-04-12 15:09:37 -06:00
1 parent 7e8b0a48ab
commit de5e8f852d
5 files changed
+54 -78

No files matched your search

+2 -1
View File
@@ -82,7 +82,8 @@ def test_vm(project, manager):
def test_vm_initial_config(project, manager):
vm = IOUVM("test", "00010203-0405-0607-0808-0a0b0c0d0e0f", project, manager, initial_config="hostname %h")
vm = IOUVM("test", "00010203-0405-0607-0808-0a0b0c0d0e0f", project, manager)
vm.initial_config = "hostname %h"
assert vm.name == "test"
assert vm.initial_config == "hostname test"
assert vm.id == "00010203-0405-0607-0808-0a0b0c0d0e0f"