can you share your .tf file ?
Latest posts made by gudge25
-
RE: terraform: XO response: jsonrpc2: code 10 message
-
RE: cannot create a VM from a diskless template without an ISO #274
@AtaxyaNetwork
https://pastebin.com/raw/q6qMn73Mand file
cloud_config.tftpl file used by the cloudinit templating.
#cloud-config
hostname: ${hostname}
fqdn: ${hostname}.${domain}
package_upgrade: true -
RE: cannot create a VM from a diskless template without an ISO #274
@AtaxyaNetwork
ok for example
we have parameterinstallation_method - (Optional) This cannot be used with cdrom. Possible values are network which allows a VM to boot via PXE.
so when i add it
installation_method = "network"
i have another errorxenorchestra_vm.bar: Creating... ╷ │ Error: jsonrpc2: code 10 message: invalid parameters: {"errors":[{"instancePath":"/installation/repository","schemaPath":"#/properties/installation/properties/repository/minLength","keyword":"minLength","params":{"limit":1},"message":"must NOT have fewer than 1 characters"}]} │ │ with xenorchestra_vm.bar, │ on main.tf line 33, in resource "xenorchestra_vm" "bar": │ 33: resource "xenorchestra_vm" "bar" { │ ╵
-
RE: cannot create a VM from a diskless template without an ISO #274
@AtaxyaNetwork thanks for reply
i want to achieve VM creation from
1-ISO
and/or
2-from Network (PXE installation )so i need 2 templates
-
RE: cannot create a VM from a diskless template without an ISO #274
@gudge25
i trieddata "xenorchestra_template" "template" { name_label = "CentOS 7" }
and
data "xenorchestra_template" "template" { name_label = "Ubuntu Bionic Beaver 18.04" }
same error
-
cannot create a VM from a diskless template without an ISO #274
hi there
I am using this template
https://registry.terraform.io/providers/terra-farm/xenorchestra/latest/docs/resources/vmso I created a file main.tf
with pretty same config from the example
(only template name is diff because i don't have the one that is in example)https://pastebin.com/raw/qGQdCEUq
Terraform plan -> OK Terraform apply -> Error: cannot create a VM from a diskless template without an ISO │ │ with xenorchestra_vm.bar, │ on main.tf line 33, in resource "xenorchestra_vm" "bar": │ 33: resource "xenorchestra_vm" "bar" { │
-
CentOS 8.0 template
hi there
trying to use CentOS 8.0 template from
Xen Hub /#/hub/templates
SSH key added on Creating stagebut connection is refused
ssh -v centos@ssh -v centos@144.76.45.XXXcentos@144.76.45.XXX: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
if i use Debian template same key works with debian user
Regards