feat: update incus image host to run on incus (#309)

- remove zfs
- remove some sysctl values
- remove memlocks from limits
- install iptables, required for creating bridges

Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/309
This commit was merged in pull request #309.
This commit is contained in:
2025-06-08 22:58:44 +10:00
parent f43d5f685b
commit 66fdd7b615
2 changed files with 6 additions and 67 deletions
+4 -5
View File
@@ -48,11 +48,10 @@ class incus (
}
exec { 'initiate_incus':
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
command => 'cat /root/incus.preseed.yaml | incus admin init --preseed && touch /root/.incus_initialized',
refreshonly => true,
creates => '/root/.incus_initialized',
subscribe => File['/root/incus.preseed.yaml'],
path => ['/bin', '/usr/bin', '/sbin', '/usr/sbin'],
command => 'cat /root/incus.preseed.yaml | incus admin init --preseed && touch /root/.incus_initialized',
creates => '/root/.incus_initialized',
require => File['/root/incus.preseed.yaml'],
}
}