[pve-devel] making installer read /proc/cmdline for automated installs

pixelfairy pixelfairy at gmail.com
Tue Aug 25 07:11:45 CEST 2015


Id like for automated installation of proxmox to be easier, especially for
testing purposes. but, also for repeatable automated deployment. do you
already have plans for this?

I know of the FAI method on the wiki, but i think theres an easier way.
just make the installer read answers from /proc/cmdline. This would also
help for subscription users, and using automated tools like packer for
development. another possibility would be a downloaded config file like
debians preseed, but that would probably be overkill.

can you please tell me

1. which file(s) asks these questions? i remember it being a simple perl
script for the 3.4 version.

2. how do you build the installer iso?

3. is there anything else i should look know or look out for?

im thinking of being able to add arguements like this to boot. i hope
someone here can think of a better syntax.

country="United States" Timezone="Los Angeles" br0="192.168.0.10/24"
gateway="192.168.0.1" nameservers="192.168.0.1,8.8.8.8" br0slave="eth0"
password="vagrant" use_defaults="true"

maybe for real deployment, the network part could look something like this
before the configuration management takes over.

br0="192.168.0.10/24" br0slave="bond0" bond0="lacp,eth0,eth1"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20150825/d15bbaa2/attachment.htm>


More information about the pve-devel mailing list