add bookshelf module, fix gitea minor typo, add fixe ip for vms
This commit is contained in:
@@ -70,6 +70,13 @@ resource "proxmox_virtual_environment_vm" "vm" {
|
||||
}
|
||||
|
||||
initialization {
|
||||
ip_config {
|
||||
ipv4 {
|
||||
address = "${var.vm_ip_address}/24"
|
||||
gateway = "192.168.1.1"
|
||||
}
|
||||
}
|
||||
|
||||
datastore_id = "local-lvm"
|
||||
interface = "ide2"
|
||||
user_data_file_id = proxmox_virtual_environment_file.cloud_user_config.id
|
||||
|
||||
@@ -53,4 +53,8 @@ variable "proxmox_host_ip" {
|
||||
|
||||
variable "cloudinit_config" {
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "vm_ip_address" {
|
||||
type = string
|
||||
}
|
||||
Reference in New Issue
Block a user