mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
feat(reimu): nfs
This commit is contained in:
parent
d959a0a5b5
commit
c041862fbe
8 changed files with 302 additions and 2 deletions
|
|
@ -32,6 +32,10 @@ module "reimu_system_records" {
|
|||
zone_id = cloudflare_zone.gensokyo-zone_zone.id
|
||||
zone_zone = cloudflare_zone.gensokyo-zone_zone.zone
|
||||
local_v6 = "fd0a::be24:11ff:fec4:66a8"
|
||||
local_subdomains = [
|
||||
"nfs",
|
||||
"smb",
|
||||
]
|
||||
}
|
||||
|
||||
module "tewi_system_records" {
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ resource "proxmox_virtual_environment_container" "reimu" {
|
|||
started = false
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [started]
|
||||
ignore_changes = [started, description]
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -77,7 +77,7 @@ resource "terraform_data" "proxmox_reimu_config" {
|
|||
|
||||
provisioner "remote-exec" {
|
||||
inline = [
|
||||
"sudo /opt/infra/bin/lxc-config ${proxmox_virtual_environment_container.reimu.vm_id} unprivileged 0 features 'nesting=1,mount=nfs,mknod=1' lxc.mount.entry '/dev/net/tun dev/net/tun none bind,optional,create=file'",
|
||||
"sudo /opt/infra/bin/lxc-config ${proxmox_virtual_environment_container.reimu.vm_id} unprivileged 0 features 'nesting=1,mount=nfs,mknod=1' lxc.mount.entry '/dev/net/tun dev/net/tun none bind,optional,create=file' lxc.mount.entry '/mnt/kyuuto-media mnt/kyuuto-media none bind,optional,create=dir'",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue