add profile
This commit is contained in:
parent
2162517b12
commit
5bc01bd2bd
1 changed files with 5 additions and 3 deletions
|
@ -1,10 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
instance_name=$(incus launch nixos-gen/custom/fj-lxc-vm-x86_64 | grep -oP 'Instance name is: \K\S+')
|
||||
echo "The captured instance name is: $instance_name"
|
||||
INCUS_PROFILE="forgejo-runner"
|
||||
|
||||
INSTANCE_NAME=$(incus launch nixos-gen/custom/fj-lxc-vm-x86_64 -p ${INCUS_PROFILE:-'default'} | grep -oP 'Instance name is: \K\S+')
|
||||
echo "The captured instance name is: $INSTANCE_NAME"
|
||||
|
||||
# Call the push_token.sh script with the new instance name
|
||||
./push_token.sh "$instance_name"
|
||||
./push_token.sh "$INSTANCE_NAME"
|
||||
echo "Pushing token to instance"
|
||||
|
||||
echo "Process completed successfully"
|
||||
|
|
Loading…
Reference in a new issue