testing
This commit is contained in:
@@ -1,15 +1,14 @@
|
|||||||
#!/bin/bash
|
#/bin/bash
|
||||||
|
|
||||||
#start container
|
#start container
|
||||||
lxc launch ubuntu $1 -p $2
|
lxc launch ubuntu $1 -p $2
|
||||||
|
|
||||||
#set docker requirements
|
#set docker requirements
|
||||||
curl -s "https://git.limbosolutions.com/kb/lxc/raw/branch/main/scripts/lxc-config-docker-requirements.sh" | bash -s $1
|
#curl -s "https://git.limbosolutions.com/kb/lxc/raw/branch/main/scripts/lxc-config-docker-requirements.sh" | bash -s $1
|
||||||
lxc restart $1
|
#lxc restart $1
|
||||||
lxc exec $1 -s "apt update -y && apt upgrade -y"
|
#lxc exec $1 -s "apt update -y && apt upgrade -y"
|
||||||
|
|
||||||
#setup docker
|
#setup docker
|
||||||
lxc exec $1 bash -s "curl -s \"https://git.limbosolutions.com/kb/docker/raw/branch/main/scripts/ubuntu-fuse-setup.sh\" | bash"
|
#lxc exec $1 bash -s "curl -s \"https://git.limbosolutions.com/kb/docker/raw/branch/main/scripts/ubuntu-fuse-setup.sh\" | bash"
|
||||||
|
|
||||||
#portainer
|
#portainer
|
||||||
lxc exec $1 bash -s "curl -s \"https://git.limbosolutions.com/kb/portainer/raw/branch/main/scripts/setup.sh\" | bash"
|
#lxc exec $1 bash -s "curl -s \"https://git.limbosolutions.com/kb/portainer/raw/branch/main/scripts/setup.sh\" | bash"
|
||||||
Reference in New Issue
Block a user