diff --git a/includes.container/usr/share/abroot/abroot.json b/includes.container/usr/share/abroot/abroot.json index f6b4b1b..0256a8e 100644 --- a/includes.container/usr/share/abroot/abroot.json +++ b/includes.container/usr/share/abroot/abroot.json @@ -5,7 +5,7 @@ "registry": "ghcr.io", "registryService": "registry.ghcr.io", "registryAPIVersion": "v2", - "name": "taukakao/custom", + "name": "changed_automatically_by_vib", "tag": "main", "iPkgMngPre": "lpkg --unlock", diff --git a/modules/80-set-image-abroot-config.yml b/modules/80-set-image-abroot-config.yml index 8bdcce9..dede541 100644 --- a/modules/80-set-image-abroot-config.yml +++ b/modules/80-set-image-abroot-config.yml @@ -1,11 +1,8 @@ name: add-image-name type: shell commands: - - BASE_IMAGE="$(cat /image-info/base-image-name)" - IMAGE_NAME="$(cat /image-info/image-name)" - - echo base image "$BASE_IMAGE" - echo custom image name "$IMAGE_NAME" - - BASE_IMAGE_ESCAPED="$(echo $BASE_IMAGE | sed 's/\//\\\//g')" - IMAGE_NAME_ESCAPED="$(echo $IMAGE_NAME | sed 's/\//\\\//g')" - - sed -i "s/$BASE_IMAGE_ESCAPED/$IMAGE_NAME_ESCAPED/g" /usr/share/abroot/abroot.json + - sed -i "s/changed_automatically_by_vib/$IMAGE_NAME_ESCAPED/g" /usr/share/abroot/abroot.json - rm -rf /image-info