feat: lxc-vm-builder #110

Merged
jahanson merged 16 commits from lxc-vm-builder into main 2025-01-01 23:36:17 -06:00
Showing only changes of commit 5bc01bd2bd - Show all commits

View file

@ -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"