-
1. 0.8.1 Couldn't read appliance definition file
goldmann Mar 8, 2011 4:48 AM (in response to t3d)Please paste your appliance definition file so I can help you.
P.S. The easiest way to install BG is to add BG repo, like described here.
--Marek
-
2. Re: 0.8.1 Couldn't read appliance definition file
t3d Mar 8, 2011 5:18 AM (in response to goldmann)Here it is:
name: xxxxxxxx
summary: xxxxxxxx
os:
name: fedora
version: 14
password: xxxxxxx
hardware:
cpus: 1
memory: 128
partitions:
"/":
size: 1
packages:
includes:
- @core
- openssh-clients
- openssh-server
post:
base:
- "/sbin/chkconfig iptables off"
- "/sbin/chkconfig ip6tables off"
- "/bin/sed -e 's/localhost/f7-simulator/' -i /etc/hosts"
- "/bin/sed -e 's/localhost/f7-simulator/' -i /etc/sysconfig/network"
- "/bin/mkdir -p /root/.ssh"
- "/bin/echo 'ssh-rsa xxxxxxxxx' >/root/.ssh/authorized_keys2"
It was working with 0.7.1 without any issues. I did use it to create raw (for qemu-kvm) and vmware appliances as well.
PS. I did added boxgrinder repo, reinstalled these 6 packages once again, and even an update for thor popped up, but the issue remains unresolved.
Message was edited by: Tomasz Długosz
-
3. Re: 0.8.1 Couldn't read appliance definition file
goldmann Mar 8, 2011 5:24 AM (in response to t3d)There was a change in packages section format. Yours is now incompatible, see: http://boxgrinder.org/tutorials/appliance-definition/#packages
Instead of:
packages: includes: - @core - openssh-clients - openssh-server
Use:
packages: - @core - openssh-clients - openssh-server
You can read about changes in 0.8.0 here: http://boxgrinder.org/blog/2011/02/09/boxgrinder-build-0-8-0-released-finally/
P.S. BG 0.9.0, which will be released soon, will support legacy packages section format.
--Marek
-
4. 0.8.1 Couldn't read appliance definition file
t3d Mar 8, 2011 6:09 AM (in response to goldmann)Thanks, fixing packages section layout solves the issue.