seprate admin init on a script

This commit is contained in:
marito 2025-06-14 08:28:04 +08:00
parent 29d95d0f68
commit 75d9d95483
2 changed files with 7 additions and 7 deletions

2
init-incus.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
incus admin init --preseed < init-preseed.yml

View File

@ -1,7 +1,5 @@
# This file contains the complete preseed configuration for Incus.
config: config:
# This is for global daemon configuration core.https_address: :8443
core.https_address: :8443 # We will set this here instead of a separate command
storage_pools: storage_pools:
- name: default - name: default
@ -22,11 +20,11 @@ profiles:
- name: default - name: default
devices: devices:
root: root:
path: /
pool: default
type: disk type: disk
pool: default
path: /
eth0: eth0:
name: eth0 type: nic
nictype: bridged nictype: bridged
parent: incusbr0 parent: incusbr0
type: nic name: eth0