Hello experts,
So after consulting the manual and google, I've found that I should be able to create a new vm, using a kickstart file, using the qm create [...] --args command. Unfortunately I'm having trouble getting this to work correctly.
I'm currently trying:
Which fails as such:
So how should I be formatting my command to successfully pass along a ks file to the installation? Is there an alternative, perhaps better, way to accomplish this?
There is a ton of information on how to accomplish what I want with virt-install, but I understand virt is not compatible with proxmox. Also I wish to use kickstart files for vm creation in this way such that I can recycle some scripts I had previously used on my xen machine.
(The best source of info I have found, and what I've based my current method on can be found here: http://stackoverflow.com/questions/...t-parameters-when-creating-vms-on-proxmox-2-x)
So after consulting the manual and google, I've found that I should be able to create a new vm, using a kickstart file, using the qm create [...] --args command. Unfortunately I'm having trouble getting this to work correctly.
I'm currently trying:
Code:
qm create 143 --name testKS1 --net0 e1000 --bootdisk ide0 --ostype l26 -ide0 lvmGroup1:4 format=raw --onboot no --sockets 1 --args -append ks=url/path/to/file.ks
Code:
400 wrong number of arguments
So how should I be formatting my command to successfully pass along a ks file to the installation? Is there an alternative, perhaps better, way to accomplish this?
There is a ton of information on how to accomplish what I want with virt-install, but I understand virt is not compatible with proxmox. Also I wish to use kickstart files for vm creation in this way such that I can recycle some scripts I had previously used on my xen machine.
(The best source of info I have found, and what I've based my current method on can be found here: http://stackoverflow.com/questions/...t-parameters-when-creating-vms-on-proxmox-2-x)