diff --git a/3rdparty/cloud/sysprep-gce.sh b/3rdparty/cloud/sysprep-gce.sh index 8db7e9d6e6..fb19da243c 100755 --- a/3rdparty/cloud/sysprep-gce.sh +++ b/3rdparty/cloud/sysprep-gce.sh @@ -26,15 +26,15 @@ # ex: gcloud storage cp ./haiku-r1beta5-x64-v20241024.tar.gz gs://haiku-images/master/haiku-r1beta5-x64-v20241024.tar.gz # * Import image (be sure to update version information below) # ex: gcloud compute images create haiku-r1beta5-x64-v20241024 \ -# --project=haiku-inc \ -# --description=Haiku\ R1/Beta5\ x86_64 \ -# --family=haiku-r1beta5-x64 \ -# --source-uri=https://storage.googleapis.com/haiku-images/r1beta5/haiku-r1beta5-x64-v20240924.tar.gz \ -# --labels=os=haiku,release=r1beta5 \ -# --storage-location=us \ -# --architecture=X86_64 -# * Add allAuthenticatedUsers principal to "Compute Image User" role on the new image -# permissions to make it public +# --project=haiku-inc \ +# --description=Haiku\ R1/Beta5\ x86_64 \ +# --family=haiku-r1beta5-x64 \ +# --source-uri=https://storage.googleapis.com/haiku-images/r1beta5/haiku-r1beta5-x64-v20240924.tar.gz \ +# --labels=os=haiku,release=r1beta5 \ +# --storage-location=us \ +# --architecture=X86_64 +# gcloud compute images add-iam-policy-binding haiku-r1beta4-x64 \ +# --member='allAuthenticatedUsers' --role='roles/compute.imageUser' --project haiku-inc if [ $# -ne 1 ]; then echo "usage: $0 " @@ -51,7 +51,7 @@ echo "" echo "Installing basic authentication stuff..." # 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 -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 echo "Configuring ssh..."