Ubuntu 20.04
This commit is contained in:
parent
fbea781f5a
commit
b23ce89bd9
@ -41,20 +41,14 @@ build {
|
|||||||
fail2ban \
|
fail2ban \
|
||||||
htop \
|
htop \
|
||||||
iperf3 \
|
iperf3 \
|
||||||
linux-generic \
|
|
||||||
nano \
|
nano \
|
||||||
openresolv \
|
openresolv \
|
||||||
qrencode \
|
qrencode \
|
||||||
ssh-import-id \
|
ssh-import-id \
|
||||||
ufw \
|
ufw \
|
||||||
unattended-upgrades \
|
unattended-upgrades \
|
||||||
unbound
|
unbound \
|
||||||
EOF
|
wireguard
|
||||||
,
|
|
||||||
<<EOF
|
|
||||||
printf "deb http://ppa.launchpad.net/wireguard/wireguard/ubuntu/ $(lsb_release -cs) main\n" > /etc/apt/sources.list.d/wireguard.list
|
|
||||||
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E1B39B6EF6DDB96564797591AE33835F504A1A25
|
|
||||||
apt-get update && apt-get install -yo DPkg::options::=--force-confold wireguard
|
|
||||||
EOF
|
EOF
|
||||||
,
|
,
|
||||||
<<EOF
|
<<EOF
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
source "hcloud" "main" {
|
source "hcloud" "main" {
|
||||||
image = "ubuntu-18.04"
|
image = "ubuntu-20.04"
|
||||||
server_name = "wireguard-{{timestamp}}"
|
server_name = "wireguard-{{timestamp}}"
|
||||||
server_type = "cx11"
|
server_type = "cx11"
|
||||||
location = "fsn1"
|
location = "fsn1"
|
||||||
@ -17,8 +17,8 @@ source "hcloud" "main" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
source "qemu" "main" {
|
source "qemu" "main" {
|
||||||
iso_url = "https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img"
|
iso_url = "https://cloud-images.ubuntu.com/daily/server/focal/current/focal-server-cloudimg-amd64.img"
|
||||||
iso_checksum_url = "https://cloud-images.ubuntu.com/bionic/current/SHA256SUMS"
|
iso_checksum_url = "https://cloud-images.ubuntu.com/daily/server/focal/current/SHA256SUMS"
|
||||||
iso_checksum_type = "sha256"
|
iso_checksum_type = "sha256"
|
||||||
disk_image = true
|
disk_image = true
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user