@@ -36,32 +36,36 @@ if [ "$SKIP_TEMPLATING" == "${SKIP_TEMPLATING#[Yy]}" ] ;then
36
36
read -p " Enter name for initial user account: " -r USERNAME
37
37
read -p " Enter password for initial user account: " -rs PASSWORD
38
38
echo -e " "
39
-
39
+ read -p " Enter name for initial WIFI SSID: " -r WIFISSID
40
+ read -p " Enter password for initial WIFI password: " -rs WIFIPASSWORD
41
+ echo -e " "
40
42
echo " Preparing ${CLOUD_CONFIG} ..."
41
43
curl --silent https://raw.githubusercontent.com/pluralsh/edge/main/cloud-config.yaml -o " ${CLOUD_CONFIG} "
42
44
templ " URL" " ${URL} " " ${CLOUD_CONFIG} "
43
45
templ " TOKEN" " ${TOKEN} " " ${CLOUD_CONFIG} "
44
46
templ " USERNAME" " ${USERNAME} " " ${CLOUD_CONFIG} "
45
47
templ " PASSWORD" " ${PASSWORD} " " ${CLOUD_CONFIG} "
48
+ templ " WIFISSID" " ${WIFISSID} " " ${CLOUD_CONFIG} "
49
+ templ " WIFIPASSWORD" " ${WIFIPASSWORD} " " ${CLOUD_CONFIG} "
46
50
fi
47
51
48
52
docker volume create edge-rootfs
49
-
53
+ echo " export image kairos-plural-bundle ... "
50
54
docker run -ti --rm --user root \
51
55
--mount source=edge-rootfs,target=/rootfs \
52
56
gcr.io/go-containerregistry/crane:latest \
53
57
--platform=linux/arm64 pull ghcr.io/pluralsh/kairos-plural-bundle:0.1.4 /rootfs/plural-bundle.tar
54
-
58
+ echo " export image kairos-plural-images-bundle ... "
55
59
docker run -ti --rm --user root \
56
60
--mount source=edge-rootfs,target=/rootfs \
57
61
gcr.io/go-containerregistry/crane:latest \
58
62
--platform=linux/arm64 pull ghcr.io/pluralsh/kairos-plural-images-bundle:0.1.2 /rootfs/plural-images-bundle.tar
59
-
63
+ echo " export image kairos-plural-trust-manager-bundle ... "
60
64
docker run -ti --rm --user root \
61
65
--mount source=edge-rootfs,target=/rootfs \
62
66
gcr.io/go-containerregistry/crane:latest \
63
67
--platform=linux/arm64 pull ghcr.io/pluralsh/kairos-plural-trust-manager-bundle:0.1.0 /rootfs/plural-trust-manager-bundle.tar
64
-
68
+ echo " unpack image $IMAGE ... "
65
69
docker run -ti --rm --privileged\
66
70
--mount source=edge-rootfs,target=/rootfs \
67
71
quay.io/luet/base \
0 commit comments