1- # ### Storage ####
2-
31variable "libvirt_disk_path" {
42 description = " Path to libvirt Disk pool"
53 default = " /mnt/terra"
64}
75
8- # ### Virtual Machine ####
9-
106variable "os_img_url" {
117 description = " URL to the OS image"
128 default = " https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
@@ -36,10 +32,14 @@ variable "memory" {
3632
3733variable "vcpu" {
3834 description = " Number of vCPUs"
39- type = string
4035 default = 1
4136}
4237
38+ variable "system_volume" {
39+ description = " System Volume size (GB)"
40+ default = 10
41+ }
42+
4343variable "dhcp" {
4444 description = " Use DHCP or Static IP settings"
4545 type = bool
@@ -52,25 +52,43 @@ variable "ip_address" {
5252 default = [ " 192.168.123.1" ]
5353}
5454
55+ variable "ip_nameserver" {
56+ description = " IP addresses of a nameserver"
57+ default = " 192.168.123.1"
58+ }
59+
60+ variable "ip_gateway" {
61+ description = " IP addresses of a gateway"
62+ default = " 192.168.123.1"
63+ }
64+
65+ variable "ssh_admin" {
66+ description = " Admin user with ssh access"
67+ default = " ssh-admin"
68+ }
69+
5570variable "ssh_keys" {
5671 description = " List of public ssh keys"
5772 type = list (string )
5873 default = []
5974}
6075
61- variable "admin_passwd " {
62- description = " Admin user password "
63- default = " password_example "
76+ variable "local_admin " {
77+ description = " Admin user without ssh access "
78+ default = " local-admin "
6479}
6580
66- # ### Connection test (Optional) ###
81+ variable "local_admin_passwd" {
82+ description = " Local admin user password"
83+ default = " password_example"
84+ }
6785
68- variable "ssh_username " {
69- description = " User for SSH test "
70- default = " ssh-user "
86+ variable "time_zone " {
87+ description = " Time Zone "
88+ default = " UTC "
7189}
7290
7391variable "ssh_private_key" {
74- description = " Private key for SSH test"
92+ description = " Private key for SSH connection test"
7593 default = " ~/.ssh/id_ed25519"
7694}
0 commit comments