Skip to content

Commit 29f05ec

Browse files
committed
Update files
1 parent 1ae5c9b commit 29f05ec

2 files changed

Lines changed: 4 additions & 25 deletions

File tree

images_yaml/gentoo.yaml

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff 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: |-

log

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Thu Apr 24 01:08:11 UTC 2025
1+
Fri Apr 25 01:08:36 UTC 2025
22
------------------------------------------
33
ubuntu_18.04_bionic_arm64_default.tar.xz
44
------------------------------------------

0 commit comments

Comments
 (0)