Skip to content

Commit 4b91225

Browse files
authored
Update autoinstall.yaml
Make sure Brave installs inside the target system, also make sure curl and gpg exist in target system
1 parent 5586183 commit 4b91225

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

autoinstall.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ autoinstall:
7676
- curtin in-target --target=/target -- resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
7777

7878
# Install Brave
79-
- curtin in-target --target=/target -- wget -qO- https://dl.brave.com/install.sh | sh
79+
- curtin in-target --target=/target -- bash -c "wget -qO- https://dl.brave.com/install.sh | sh"
8080

8181
# Installing Warp
8282
- curtin in-target --target=/target -- /bin/bash -c "wget --content-disposition -O /tmp/warp.deb 'https://app.warp.dev/download?package=deb' && dpkg -i /tmp/warp.deb"
@@ -88,6 +88,7 @@ autoinstall:
8888

8989
# Installing 1password-cli
9090
- curtin in-target --target=/target -- bash -c '
91+
apt-get update && apt-get install -y curl gpg &&
9192
curl -sS https://downloads.1password.com/linux/keys/1password.asc |
9293
gpg --dearmor --output /usr/share/keyrings/1password-archive-keyring.gpg &&
9394
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main" |
@@ -125,4 +126,4 @@ autoinstall:
125126

126127
- curtin in-target --target=/target -- bash -c '
127128
echo "Installation paused. Create /tmp/continue to proceed.";
128-
while [ ! -f /tmp/continue ]; do sleep 5; done'
129+
while [ ! -f /tmp/continue ]; do sleep 5; done'

0 commit comments

Comments
 (0)