3rdparty/cloud: A few small fixes to sysprep-gcp

Change-Id: I001d824f65cf135507aac65acc586de5be7ad386
This commit is contained in:
Alexander von Gluck
2024-09-25 16:54:00 -05:00
parent 5ea41d287c
commit 7b1d348567
+3 -3
View File
@@ -33,8 +33,8 @@
# --labels=os=haiku,release=r1beta5 \ # --labels=os=haiku,release=r1beta5 \
# --storage-location=us \ # --storage-location=us \
# --architecture=X86_64 # --architecture=X86_64
# * Add allAuthenticatedUsers principal to "Compute Image User" role on the new image # gcloud compute images add-iam-policy-binding haiku-r1beta4-x64 \
# permissions to make it public # --member='allAuthenticatedUsers' --role='roles/compute.imageUser' --project haiku-inc
if [ $# -ne 1 ]; then if [ $# -ne 1 ]; then
echo "usage: $0 <HAIKU ROOTFS>" echo "usage: $0 <HAIKU ROOTFS>"
@@ -51,7 +51,7 @@ echo ""
echo "Installing basic authentication stuff..." echo "Installing basic authentication stuff..."
# Installs gce_metadata_ssh tool for sshd. This lets you control the keys # Installs gce_metadata_ssh tool for sshd. This lets you control the keys
# of the "user" user from GKE. ONLY "user" WORKS! We have no PAM for gce's os-login stuff # of the "user" user from GKE. ONLY "user" WORKS! We have no PAM for gce's os-login stuff
wget https://eu.hpkg.haiku-os.org/haikuports/current/$(uname -m)/current/packages/smolcloudtools-$SMOL_RELEASE-$(uname -m).hpkg \ wget https://eu.hpkg.haiku-os.org/haikuports/master/$(uname -m)/current/packages/smolcloudtools-$SMOL_RELEASE-$(uname -m).hpkg \
-O $TARGET_ROOTFS/system/packages/smolcloudtools-$SMOL_RELEASE-$(uname -m).hpkg -O $TARGET_ROOTFS/system/packages/smolcloudtools-$SMOL_RELEASE-$(uname -m).hpkg
echo "Configuring ssh..." echo "Configuring ssh..."