mirror of
https://github.com/tolerryan/NewWatari.git
synced 2026-10-12 10:57:42 +00:00
Creating owncloud
This commit is contained in:
66
lxc/owncloud/vars.tf
Normal file
66
lxc/owncloud/vars.tf
Normal file
@@ -0,0 +1,66 @@
|
||||
# ---------------------------------------------------------------
|
||||
# General container settings (things that rarely change)
|
||||
# ---------------------------------------------------------------
|
||||
variable "start_on_boot" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "unprivileged" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "nesting_enabled" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Disk sizes (primary + optional)
|
||||
# ---------------------------------------------------------------
|
||||
variable "datastore_id" {
|
||||
type = string
|
||||
default = "local-lvm"
|
||||
}
|
||||
|
||||
variable "disk_size_gb" {
|
||||
type = number
|
||||
default = 128
|
||||
}
|
||||
|
||||
variable "second_disk_enabled" {
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "second_disk_datastore" {
|
||||
type = string
|
||||
default = "local-lvm"
|
||||
}
|
||||
|
||||
variable "second_disk_size_gb" {
|
||||
type = number
|
||||
default = 400
|
||||
}
|
||||
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Initialization specifics
|
||||
# ---------------------------------------------------------------
|
||||
variable "hostname" { default = "owncloud" }
|
||||
variable "ip_address" { default = "192.168.0.11/24" }
|
||||
variable "gateway" { default = "192.168.0.1" }
|
||||
variable "password" { default = "example" }
|
||||
variable "cores" { default = 4 }
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# Node & template file
|
||||
# ---------------------------------------------------------------
|
||||
variable "node_name" { default = "watari" }
|
||||
variable "template_file_id" { default = "local:vztmpl/debian-13-standard_13.4-sudo_amd64.tar.zst" }
|
||||
|
||||
# ---------------------------------------------------------------
|
||||
# (Optional) Mount point volume name – set if you enable mounts
|
||||
# ---------------------------------------------------------------
|
||||
# variable "mount_volume" { default = "" }
|
||||
Reference in New Issue
Block a user