You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
672 B

#!/usr/bin/env bash
build() {
local n
n=debian-1
vdn-build $n
vdn-config $n GUEST_SYS "debian/buster"
vdn-config $n MEMORY "4096"
vdn-config $n AUFS_SIZE 2048
vdn-config $n SAVE_DIR "/tmp/vdn-\$USER"
vdn-config $n SAVE_DIR_HDB "/tmp/vdn-\$USER"
vdn-config $n HDB "docker-hdb.disk"
vdn-config $n HDB_PART_FORMAT 1
vdn-config $n HDB_DIRS "/root /home /var/lib/docker /var/lib/containerd"
vdn-config $n HDB_SIZE "32000"
vdn-config $n SWAP_SIZE "2048"
vdn-config $n EXTRA_SERVICES "containerd docker"
vdn-config $n REDIRS "\
tcp:22:(ssh) \
tcp:80:(http) \
tcp:443:(https) \
tcp:8000:(free) \
"
}