incus_ovh
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| incus_ovh [2026/02/22 20:51] – created neoon | incus_ovh [2026/02/22 21:09] (current) – neoon | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | Optional, modify netplan to set IPv4 static. | + | Optional, modify netplan to set IPv4 static.\\ |
| - | / | + | In / |
| - | remove " | + | remove " |
| - | add gateway 4 and your IPv4 to addresses | + | add gateway4 |
| + | Then run \\ | ||
| netplan apply | netplan apply | ||
| + | | ||
| + | Add Incus repo | ||
| + | |||
| + | mkdir -p / | ||
| + | sh -c 'cat <<EOF > / | ||
| + | Enabled: yes | ||
| + | Types: deb | ||
| + | URIs: https:// | ||
| + | Suites: $(. / | ||
| + | Components: main | ||
| + | Architectures: | ||
| + | Signed-By: / | ||
| + | EOF' | ||
| + | | ||
| + | Install Incus | ||
| + | |||
| + | apt-get update && apt-get install incus -y | ||
| + | |||
| + | Configure Storage\\ | ||
| + | You can just run with the defaults, however running a filesystem in a filesystem is costing performance.\\ | ||
| + | I setup my dedi at OVH with 50GB for the OS itself and left the rest unpartitioned.\\ | ||
| + | |||
| + | sudo parted /dev/sda mkpart zfs-pool 103448576s 2056573575s | ||
| + | sudo parted /dev/sdb mkpart zfs-pool 103448576s 2056573575s | ||
| + | sudo zpool create -f -o feature@encryption=enabled | ||
| + | | ||
| + | This will setup a 1TB big, ZFS, mirrored and encrypted volume. | ||
| + | |||
| + | | ||
| + | Configure Incus | ||
| + | |||
| + | incus admin init | ||
| + | | ||
| + | Select ZFS, if its asking to create a new one, say no and enter the name of the zfs pool instead. | ||
| + | |||
| + | Launch your first VM | ||
| + | |||
| + | incus launch images: | ||
| + | | ||
| + | Add another NIC for IPv6 support | ||
| + | |||
| + | incus config device add test eth1 nic | ||
incus_ovh.1771793481.txt.gz · Last modified: by neoon
