#!/bin/bash install_sw () { apt install lxd git } configure_lxd () { lxd init --preseed < input.yaml } lxd_create_net () { lxc launch images:alpine/3.13 net lxc exec net apk update lxc exec net apk upgrade lxc exec net apk add git lxc exec net git clone https://www.joaolino.com/gitlab/hsrv/deploy.git lxc exec net /root/deploy/containers/net/deploy.ash } #install_sw #configure_lxd #lxd_create_net