Skip to content

Commit

Permalink
give permission for other users for the 2 dirs need write
Browse files Browse the repository at this point in the history
Signed-off-by: Chen Jing <[email protected]>
  • Loading branch information
JingChen23 committed Oct 12, 2023
1 parent 4bc2f0b commit 779e17f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions create-frozen-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,12 @@ fi
if [ "$enable_frozenvm_each_host" = true ]; then
command_in_container="${command_in_container} --enable-frozenvm-each-host"
fi
chmod o+w config
chmod o+w manifests
# Launch packer build
docker run --tty --rm --name packer-builder -v \
"$(pwd)":/home/packer ${packer_builder_image}:rw \
bash -c "$command_in_container"
chmod o-w config
chmod o-w manifests
echo "Packer build finished."

0 comments on commit 779e17f

Please sign in to comment.