diff --git a/init-incus.sh b/init-incus.sh new file mode 100755 index 0000000..f1ba1af --- /dev/null +++ b/init-incus.sh @@ -0,0 +1,2 @@ +#!/bin/sh +incus admin init --preseed < init-preseed.yml \ No newline at end of file diff --git a/init-preseed.yml b/init-preseed.yml index 1c14ca8..53017ba 100644 --- a/init-preseed.yml +++ b/init-preseed.yml @@ -1,7 +1,5 @@ -# This file contains the complete preseed configuration for Incus. config: - # This is for global daemon configuration - core.https_address: :8443 # We will set this here instead of a separate command + core.https_address: :8443 storage_pools: - name: default @@ -22,11 +20,11 @@ profiles: - name: default devices: root: - path: / - pool: default type: disk + pool: default + path: / eth0: - name: eth0 + type: nic nictype: bridged parent: incusbr0 - type: nic \ No newline at end of file + name: eth0