Skip to content

Commit

Permalink
Merge pull request #26 from Poeschl/Poeschl-patch-1
Browse files Browse the repository at this point in the history
Fix nocloud folder creation if already existing
  • Loading branch information
cloudymax authored Jan 17, 2023
2 parents 087ae5c + 6d9e5d1 commit 8fb1023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ set_kernel_autoinstall(){

if [ ${ALL_IN_ONE} -eq 1 ]; then
log "🧩 Adding user-data and meta-data files..."
mkdir "${BUILD_DIR}/nocloud"
mkdir -p "${BUILD_DIR}/nocloud"
cp "$USER_DATA_FILE" "${BUILD_DIR}/nocloud/user-data"

if [ -n "${META_DATA_FILE}" ]; then
Expand Down

0 comments on commit 8fb1023

Please sign in to comment.