Commit 986449bb authored by Yannik Dällenbach's avatar Yannik Dällenbach 🤼 Committed by Yannik Dällenbach
Browse files

Instance ready command

parent 2cbe806c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -43,5 +43,8 @@ configs:
        # Set as environment variable or replace with API token from Cloudscale.
        api_token = "$CLOUDSCALE_API_TOKEN" 

        # cloud-init has completed successfully (if it is present).
        instance_ready_command = "command -v cloud-init || exit 0; cloud-init status --wait; test $? -ne 1"

      [[runners.autoscaler.policy]]
        idle_count = 0 # We only want to create instances when needed.