fixed bootstrap image error
This commit is contained in:
parent
7afd2a5510
commit
ccf099a363
|
@ -83,8 +83,8 @@ EOF
|
|||
|
||||
|
||||
echo "Injecting cookbooks and configs for chef-solo ..."
|
||||
cp -r ../cookbooks ${INITRD_LOOP}/root
|
||||
cp -r ../scripts ${INITRD_LOOP}/root
|
||||
cp -r ${REPO}/cookbooks ${INITRD_LOOP}/root
|
||||
cp -r ${REPO}/scripts ${INITRD_LOOP}/root
|
||||
|
||||
echo "Injecting crontab job to launch chef-solo ..."
|
||||
cat > ${INITRD_LOOP}/etc/cron.d/chef-solo <<EOF
|
||||
|
@ -96,7 +96,3 @@ mkdir -p ${INITRD_LOOP}/root/.ssh
|
|||
cp ${REPO}/bootstrap/ssh/id_rsa.pub ${INITRD_LOOP}/root/.ssh/authorized_keys
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue