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.4k 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 Offline
          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 Offline
              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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post