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

    xo-cli deploy VM using ssh-key parameter

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    4 Posts 3 Posters 434 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.
    • kirovtomeK Offline
      kirovtome
      last edited by

      Hello,

      which parameter should I use if I want to create / deploy a VM using SSH KEY instead of cloud-init template ? I've tried to grep xo-cli --list-commands, and couldn't find anything related to it. @julien-f Appreciate your help 🙂

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

        Without cloudinit it's not possible (or you need to have a template with your keys already).

        1 Reply Last reply Reply Quote 1
        • julien-fJ Offline
          julien-f Vates 🪐 Co-Founder XO Team @kirovtome
          last edited by

          @kirovtome There is no dedicated param, XO is using the Cloud-init setting ssh_authorized_keys.

          kirovtomeK 1 Reply Last reply Reply Quote 1
          • kirovtomeK Offline
            kirovtome @julien-f
            last edited by

            @julien-f @olivierlambert Thanks guys! You can close this one.

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