11 lines
279 B
Bash
Executable File
11 lines
279 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
echo "Provisioning instance"
|
|
|
|
SERVER_ID=$(scw create --commercial-type=STARDUST1-S --name=igctf-test3 449bdf2d)
|
|
|
|
scw _userdata $SERVER_ID cloud-init=@$PWD/nix-infect-init.yaml
|
|
scw start $SERVER_ID
|
|
|
|
IP=$(scw inspect $SERVER_ID -f '.server.public_ip.address')
|