We've also started experimenting with libguestfs (from Python) as an interesting alternative approach to some of the post-creation setup.Įdit: I should note that the above example was actually used with "vmbuilder", which is an older version of ubuntu-vm-builder.
SET UP EZBOT AUTO QUEUE INSTALL
From that point on we can use ssh to install additional packages and do other setup, remotely. The script includes this: # Install openssh-serverĪpt-get install -qqy -force-yes openssh-server That prepares the VM with networking, disk partitions, initial user, apt-get source URL, and a script that executes at first bootup. suite intrepid -flavour virtual -addpkg acpid -libvirt qemu:///system The sega cd is missing some audio cords but everything to hook it up to your tv. user peterh -name 'Peter Hansen' -pass default -tmpfs - \ Chats are created automatically upon matching someone and all chats.
Here's part of an example: sudo vmbuilder kvm ubuntu -hostname somename -arch i386 -ip 192.168.222.21 \ We use ubuntu-vm-builder with some predefined configuration files and a few customs scripts. I do thing using something like etckeeper is important that way if something does break you can easily identify what changed and revert. The real version of my script has more error checking in it to respond appropriately if something is broke. #!/bin/shĮxport PATH=/usr/sbin:/usr/bin:/sbin:/binĮtckeeper commit 'pre-commit setup-aptsources'Įtckeeper commit 'post-commit setup-aptsources' Will the charging start automatically based on current plan expiry OR after expiry of all plans in queue 1. This is basically the contents of the script. start automatically based on current plan expiry OR after expiry of all plans in queue Contents hide 1 I already have 3 plans in queue and I have signed up for JioAutoPay. When I want to use one of the scripts in the SVN on one of the machines I run it directly from the SVN server using curl. I store some of the scripts needed for setup of the systems in my SVN repository which is available via https.
SET UP EZBOT AUTO QUEUE FULL
If you don't want to or cannot run a full puppet install another option is to write scripts to customize the system post-install and then use those. Then use something like puppet for post install configuration/installation. I think the most common Debian/Ubuntu method is to do your base install with preseeding.