Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170615

Using kickstart files with the qm create command?

$
0
0
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:

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
Which fails as such:

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/1...on-proxmox-2-x)

Viewing all articles
Browse latest Browse all 170615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>