[Bug 316538] [NEW] allow for vmbuilder to change VM name and directory with the --hostname option
jslootbeek
jslootbeek at gmail.com
Mon Jan 12 21:34:55 UTC 2009
Public bug reported:
user at host:~/vm$ apt-cache policy
Display all 35203 possibilities? (y or n)
user at host:~/vm$ apt-cache policy ubuntu-vm-builder
ubuntu-vm-builder:
Installed: (none)
Candidate: 0.9-0ubuntu5
Version table:
0.9-0ubuntu5 0
500 http://us.archive.ubuntu.com jaunty/universe Packages
Creating multiple virtual machines for the same hypervisor and OS is not allowed.
When creating a VM with "vmbuilder kvm ubuntu [options]" the VM will be placed in ubuntu-kvm directory. When a second VM is created with the same options, the following error is displayed
user at host:~$ sudo vmbuilder kvm ubuntu
2009-01-12 16:16:02,746 INFO Cleaning up
ubuntu-kvm already exists
the same error is thrown when the --hostname is provided
user at host:~$ sudo vmbuilder kvm ubuntu --hostname test
2009-01-12 16:16:02,746 INFO Cleaning up
ubuntu-kvm already exists
the only way to create a new VM is to run the vmbuilder command from a separate directory.
"vmbuilder kvm ubuntu --hostname test" should create the VM in directory "test-kvm" rather than checking for "ubuntu-kvm"
"vmbuilder kvm ubuntu --help" also mentions that the --hostname option
will use the provided name as the VM name.
-hostname=HOSTNAME
Set NAME as the hostname of the guest. Default:
ubuntu. Also uses this name as the VM name.
Unless this is fixed in a developer trunk, I will be able to provide a
patch in the near future.
** Affects: vm-builder (Ubuntu)
Importance: Undecided
Status: New
--
allow for vmbuilder to change VM name and directory with the --hostname option
https://bugs.launchpad.net/bugs/316538
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list