build squashfs in packer; set hostname using mac address

This commit is contained in:
jalr 2018-04-01 02:12:03 +02:00
parent 657336cf7c
commit 2bc4d064b3
6 changed files with 58 additions and 38 deletions

View file

@ -55,6 +55,7 @@ images/debian-stretch.squashfs: images
-v "${PWD}/images:/images" \
-e "user=`id -u`" \
-e "group=`id -g`" \
-e "IMAGES=${PWD}/images" \
-e "ANNOUNCE=$(ANNOUNCE)" \
-e "WEBSEED=$(WEBSEED)" \
-e "COMPRESSION_LEVEL=$(COMPRESSION_LEVEL)" \