XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. ppikna97
    3. Posts
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Terraform with cloud-init

      @m4xm0rris thanks. I was using template_file data source with xenorchestra_cloud_config data source like this:

      905476d3-fd92-4cf1-8d10-2611cd7c8a31-image.png

      But I found answer to both of us... Some video linked me here templatefile vs template_file. Resulting that it is better to use templatefile function to match terraform version and for working with different data types. But in the essence templatefile and template_file do the same thing.

      posted in Xen Orchestra
      ppikna97P
      ppikna97
    • RE: Terraform with cloud-init

      Hi, I have question to this topic. I figured out to use templatefiles in terraform to provision my VMs. But when I try to provision network alongside with userdata configuration (2 templatefiles) it did not work. It just apply network configuration. My use case was to firstly configure static networking and than install some packages, hostname and so on. I was resolving this few months ago, but did not understand how execution sequence works or if it is even possible. Cloud-init official documentation is not very clear.

      I would appreciate any help with this.

      posted in Xen Orchestra
      ppikna97P
      ppikna97