File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ files:
335335 path : /etc/conf.d/hostname
336336 generator : template
337337 content : |-
338- hostname="{{ container .name }}"
338+ hostname="{{ instance .name }}"
339339
340340 - name : hosts
341341 path : /etc/hosts
@@ -494,29 +494,8 @@ actions:
494494 locale-gen
495495 fi
496496
497- - trigger : post-unpack
498- action : |-
499- #!/bin/sh
500- set -eux
501-
502- TARGET="$(uname -m)"
503-
504- case "${TARGET}" in
505- aarch64)
506- TARGET=arm64 ;;
507- i686)
508- TARGET=x86 ;;
509- ppc*)
510- TARGET=ppc ;;
511- x86_64)
512- TARGET=amd64 ;;
513- arm*)
514- TARGET=arm ;;
515- esac
516-
517- types :
518- - container
519- - vm
497+ # Create empty hostname file
498+ touch /etc/hostname
520499
521500 - trigger : post-unpack
522501 action : |-
Original file line number Diff line number Diff line change 1- Thu Apr 24 01:08:11 UTC 2025
1+ Fri Apr 25 01:08:36 UTC 2025
22------------------------------------------
33ubuntu_18.04_bionic_arm64_default.tar.xz
44------------------------------------------
You can’t perform that action at this time.
0 commit comments