diff options
| author | alex <alex@pdp7.net> | 2024-10-06 20:19:20 +0200 |
|---|---|---|
| committer | alexpdp7 <alex@corcoles.net> | 2024-10-06 20:21:21 +0200 |
| commit | fa96d093bcf460b0de52a109394a3f8b912cb161 (patch) | |
| tree | fcc16497c586887f5307483558bb7d8545deb0b8 | |
| parent | 5d22f1b3b73feb8fee6a0432128d66e28f9f2678 (diff) | |
Use default minimal Incus config instead of a faulty one
| -rw-r--r-- | personal_infra/puppet/modules/incus/manifests/init.pp | 44 | ||||
| -rw-r--r-- | personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp | 4 |
2 files changed, 4 insertions, 44 deletions
diff --git a/personal_infra/puppet/modules/incus/manifests/init.pp b/personal_infra/puppet/modules/incus/manifests/init.pp index 7791ad99..1d30a403 100644 --- a/personal_infra/puppet/modules/incus/manifests/init.pp +++ b/personal_infra/puppet/modules/incus/manifests/init.pp @@ -1,4 +1,4 @@ -class incus($network_device) { +class incus { file {'/etc/apt/keyrings/zabbly.asc': content => @(EOT) -----BEGIN PGP PUBLIC KEY BLOCK----- @@ -70,45 +70,7 @@ class incus($network_device) { -> package {'incus':} - file {'/etc/incus.puppet': - content => @("EOT") - config: {} - networks: - - config: - ipv4.address: auto - ipv6.address: auto - description: "" - name: incusbr0 - type: "" - project: default - storage_pools: - - config: {} - description: "" - name: default - driver: dir - profiles: - - config: {} - description: "" - devices: - eth0: - name: $network_device - network: incusbr0 - type: nic - root: - path: / - pool: default - type: disk - name: default - projects: [] - cluster: null - | EOT - , - } - - exec {'/usr/bin/incus admin init --preseed </etc/incus.puppet': - require => [ - File['/etc/incus.puppet'], - Package['incus'], - ], + exec {'/usr/bin/incus admin init --minimal': + require => Package['incus'], } } diff --git a/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp b/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp index 3b027cbc..033c910f 100644 --- a/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp +++ b/personal_infra/puppet/site/hideo.mad.int.pdp7.net.pp @@ -1,7 +1,5 @@ node 'hideo.mad.int.pdp7.net' { class {'workstation':} - class {'incus': - network_device => 'wlp3s0', - } + class {'incus':} package {['zfs-dkms', 'sanoid']:} } |
