1
0
mirror of https://github.com/rancher/os.git synced 2025-07-16 16:11:03 +00:00

fix the boot crash on installed system

This commit is contained in:
Ivan Mikushin 2015-08-18 12:39:43 +05:00
parent 95b411924c
commit 2812bf4894

View File

@ -11,9 +11,9 @@ if [ -z ${BASE_DIR} ]; then
exit 1
fi
mkdir -p ${BASE_DIR}/lib/rancher/conf/cloud-config.d
mkdir -p ${BASE_DIR}/var/lib/rancher/conf/cloud-config.d
cp ${CLOUD_DATA} ${BASE_DIR}/lib/rancher/conf/cloud-config.d/
cp ${CLOUD_DATA} ${BASE_DIR}/var/lib/rancher/conf/cloud-config.d/
for f in ${FILES[@]}; do
IFS=":" read s d <<< "${f}"