XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Debian 10 cloud-init - VM encryption

    Scheduled Pinned Locked Moved Compute
    6 Posts 2 Posters 1.0k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      fred974
      last edited by

      Hi,

      I just recently managed to get a Debian10 VM running from XOA hub.

      Could anyone please tell me if it is possible to instruct cloud-init to create a VM with a full disk encryption as if I was creating the VM manually?

      Thank you

      1 Reply Last reply Reply Quote 0
      • F Offline
        fred974
        last edited by

        Hi all,

        Could anyone advise me please?

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Online
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Hi,

          I think you need to understand how cloudinit works first. It's a program which start with your operating system, applying instructions from a yaml file.

          You can't remove your own existing root and replace it with a LUKS encrypted one just by telling Cloudinit to do so.

          In your case, if you want something like that, you might need to create your own template first. Or add a new disks and encrypt it.

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            fred974 @olivierlambert
            last edited by

            @olivierlambert Do you mean create a VM the way I usually do it with my full encryption and the convert it to a VM and the add cloud-init after?
            If I do that will I still be able to expend the disk size via cloud-init?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Online
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              That's a good question. I don't know. You should ask the cloudinit community about this 🙂

              F 1 Reply Last reply Reply Quote 0
              • F Offline
                fred974 @olivierlambert
                last edited by

                @olivierlambert said in Debian 10 cloud-init - VM encryption:

                You should ask the cloudinit community about this

                Thank you, I will do

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post