feat: Enhance setup-profiles.bash for selective updates
The `setup-profiles.bash` script has been enhanced to allow for selective updates of LXD profiles. Users can now specify one or more profile names as arguments to update only those specific profiles. If no arguments are provided, the script will default to updating all profiles found in the `profiles/` directory, maintaining the previous behavior. This change improves flexibility and control when managing LXD profiles. Co-authored-by: Gemini CLI <gemini-cli@google.com>
This commit is contained in:
1 parent
e42dd60d83
commit
6eee6eafee
3 files changed
+80
-28
No files matched your search
@@ -0,0 +1,15 @@
|
||||
## Create traefik instance
|
||||
|
||||
### Create container
|
||||
lxc init ubuntu:lts -p default -p zfs -p front -p traefik -p letsencrypt traefik
|
||||
|
||||
### Fix ip address
|
||||
lxc network attach front traefik eth0 eth0
|
||||
lxc config device set traefik eth0 ipv4.address 10.112.16.10
|
||||
|
||||
### Start it
|
||||
lxc start traefik
|
||||
|
||||
### Check it
|
||||
lxc exec traefik -- cloud-init status --wait
|
||||
lxc shell traefik
|
||||
Reference in new issue
Block a user