Browse Source

add ubuntu

pull/2/head
j3s 2 years ago
parent
commit
c0aa59345d
  1. 0
      ubuntu/20.04/.gitkeep
  2. 3
      ubuntu/20.04/build
  3. 8
      ubuntu/build

0
ubuntu/20.04/.gitkeep

3
ubuntu/20.04/build

@ -1,3 +0,0 @@
#!/bin/sh
wget https://cloud-images.ubuntu.com/minimal/releases/focal/release-20201027/focal-minimal-cloudimg-amd64.img

8
ubuntu/build

@ -0,0 +1,8 @@
#!/bin/sh
case "$1" in
20.04) url='https://cloud-images.ubuntu.com/minimal/releases/focal/release/ubuntu-20.04-minimal-cloudimg-amd64.img' ;;
*) echo "not found" && exit 1 ;;
esac
wget "$url" -O "$1/root.img.qcow2"
Loading…
Cancel
Save