on centos 5.5 create with ebs
kiss.tibor.axiomatic Oct 22, 2010 10:47 AMI run the following command:
boxgrinder-build appliances/centos-5.appl -p ec2 -d ebs
which would like to create a centos 5.5 image, but I received the following error:
er_build-local-repo -c build/appliances/i686/centos/5/centos-5/centos-plugin/tmp/yum.conf list available bash kernel-PAE grub e2fsprogs passwd policycoreutils chkconfig curl rootfiles yum vim-minimal acpid dhclient iputils openssh-server openssh-clients httpd system-config-firewall-base ntp which system-config-securitylevel-tui --nevra --archlist=i386,i486,i586,i686,noarch'
D, [2010-10-22T10:26:08.148765 #2744] DEBUG -- : Cannot retrieve repository metadata (repomd.xml) for repository: boxgrinder_build-centos-5-base. Please verify its path and try again
I don't like
D, [2010-10-22T10:26:07.368397 #2744] DEBUG -- : Reading definition from 'appliances/centos-5.appl' file...
I, [2010-10-22T10:26:07.374675 #2744] INFO -- : Building 'centos-5' appliance for i686 architecture.
because it generates
/root/build/appliances/i686/centos/5/centos-5/centos-plugin/tmp/yum.conf which contains:
[main]
cachedir=/root/build/appliances/i686/centos/5/centos-5/centos-plugin/tmp/boxgrinder_build-i686-yum-cache/
[boxgrinder_build-centos-5-base]
name=centos-5-base
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i686&repo=os
enabled=1
[boxgrinder_build-centos-5-updates]
name=centos-5-updates
mirrorlist=http://mirrorlist.centos.org/?release=5&arch=i686&repo=updates
enabled=1
[boxgrinder_build-local-repo]
name=local-repo
baseurl=http://mirror.centos.org/centos/5.5/os/i386/CentOS
enabled=1
but we don't have i686, but i386!
here is my centos-5.appl
name: centos-5
summary: CentOS 5.5 on EC2
os:
name: centos
version: 5
hardware:
partitions:
"/":
size: 40
repos:
- name: "local-repo"
baseurl: "http://mirror.centos.org/centos/5.5/os/i386/CentOS"
ephemeral: true
packages:
includes:
- bash
- kernel-PAE
- grub
- e2fsprogs
- passwd
- policycoreutils
- chkconfig
- curl
- rootfiles
- yum
- vim-minimal
- acpid
- dhclient
- iputils
- openssh-server
- openssh-clients
- httpd
- system-config-firewall-base
- ntp
- which