Skip to content

Commit

Permalink
Add CirrOS 0.3.5 support
Browse files Browse the repository at this point in the history
1. Disable ec2/cloud-init lookup on boot.
2. Fake 'bash' redirect to 'ash', as the CirrOS busybox is configured
with CONFIG_FEATURE_BASH_IS_NONE=y

Signed-off-by: Nadav Goldin <[email protected]>
  • Loading branch information
nvgoldin committed Jun 22, 2017
1 parent 5d25460 commit 91dde51
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions image-specs/cirros0.3.5-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#base=libguestfs:cirros-0.3.5
#name=CirrOS 0.3.5
#osinfo=cirros0.3.5
#distro=cirros0.3.5
#arch=x86_64
#expand=/dev/vda1
#root-partition=/dev/vda1
root-password password:123456
delete /lib/cirros/ds/ec2
delete /lib/cirros/configdrive
edit /etc/cirros-init/config:'s/DATASOURCE_LIST(.*)/DATASOURCE_LIST=nocloud/g'
write /bin/bash:/bin/busybox ash
chmod 111:/bin/bash

0 comments on commit 91dde51

Please sign in to comment.