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

    Topics

    • E

      Dynamic cloudinit network config [FEATURE REQUEST]

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      7
      1
      0 Votes
      7 Posts
      276 Views
      D
      @julien-f Would that be something like this for a dynamic network config as an example? network: version: 1 config: - type: physical name: enX0 subnets: - type: static address: 192.168.99.{index}/24 gateway: 192.168.99.1 - type: nameserver address: - 172.31.31.1 - 192.168.45.11 search: - example.tld I plan to test this at some point, but I don't do a whole lot of bulk provisioning myself. Just curious.
    • E

      [SOLVED] How to install guest tools via apt?

      Watching Ignoring Scheduled Pinned Locked Moved Solved Xen Orchestra
      2
      2
      0 Votes
      2 Posts
      2k Views
      E
      so i imported a new VM and made sure i mounted the guest-tools iso to it before converting it to template i just tried this and it worked!!! #cloud-config hostname: someotheruser ssh_authorized_keys: - ssh-rsa AAAAxxx - ssh-rsa AAAAxxx - ssh-ed25519 AAAAxxx runcmd: - [mkdir, -p, /mnt/guest-tools] - [mount, /dev/cdrom, /mnt/guest-tools] - [bash, /mnt/guest-tools/Linux/install.sh] - [umount, /dev/cdrom] - [rm, -rf, /mnt/guest-tools]
    • E

      Ubuntu 24.04 Cloud Image Template Not Working

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      14
      0 Votes
      14 Posts
      2k Views
      D
      @encryptblockr said in Ubuntu 24.04 Cloud Image Template Not Working: did you mount the guest tools cdrom to the cloud image before you created a template from it? No, I just make my base images (for the end template) as generic as possible, and I do all mounts, package installs, accounts, keys, including the xe-guest utils package all in the user-data config for cloud-init. Makes the configurations more uniform across all stacks I have to maintain and scales really well with jinja templates. also what is point of {name}% in below? can you explain? where does it get {name} from and what is % use? That pulls the hostname from metadata that is provided by the nocloud datasource. If you ever want to see all the metadata available (for example, say your provisioning plane does dynamic configuration from some backend IAS platform, and you need logic that renders metadata to run different configurations; run the following after login: cloud-init query -a For example, I run different configurations based on what the 'distro' value is - example: cloud-init query -f {{v1.distro}} {% if distro in ['rocky', 'ol', 'centos', 'fedora', 'redhat', 'almalinux'] -%} //do the rpm things// This allows us to run completely different configuration settings based on what distro its being run in, or even what virtualization platform it is running on. Some platforms won't use the hostname, or fqdn meta values, so I have some if logic that only adds it when vendordata is null, example; {% if vendordata == '' %} fqdn: {name} {% endif %} Probably more than you wanted to know, but that's a brief summary of cloud-init metadata.
    • E

      Duplicate Template In XCP-NG Host. Why?

      Watching Ignoring Scheduled Pinned Locked Moved Management
      8
      1
      0 Votes
      8 Posts
      210 Views
      M
      @gduperrey @business XOA (latest). @home XO from sources (latest build)
    • E

      can we use official ubuntu cloud images

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      7
      0 Votes
      7 Posts
      1k Views
      R
      @encryptblockr hope to try the same with their even smaller "CORE" images. There is not an .OVA download but .xz downloads that when expanded have .img . https://cdimage.ubuntu.com/ubuntu-core/22/stable/current/ubuntu-core-22-amd64.img.xz and https://cdimage.ubuntu.com/ubuntu-core/22/stable/current/ubuntu-core-22-amd64+intel-iot.img.xz cloud-init seems to require experimentation and these small images boot quickly for me. Are you then following Fohdeesha's instructions?
    • E

      Need help creating single disk partition for Ubuntu 22.04 cloud image

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      12
      1
      0 Votes
      12 Posts
      947 Views
      E
      nice, thanks!
    • E

      how do i migrate VM storage to a different SR

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      3
      0 Votes
      3 Posts
      2k Views
      E
      @olivierlambert thanks
    • E

      Any updated tutorial on how to create new cloud images?

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      22
      1 Votes
      22 Posts
      9k Views
      fohdeeshaF
      Also note the text at the top of your screenshot: to continue you need to select a boot device. There might be a way in that menu (or partition creation submenu) to mark that created partition as bootable, or maybe you just need to highlight/select the partition under "used devices" before hitting "done"
    • E

      How do i migrate ALL vms from one host to another host?

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      7
      0 Votes
      7 Posts
      4k Views
      Z
      This helped me https://www.youtube.com/watch?v=H5PJ_tHQlZk
    • E

      Ubuntu 20.04 Cloud Image

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      14
      0 Votes
      14 Posts
      3k Views
      T
      @encryptblockr Why don't you just download the official cloud image from ubuntu? It's not worth the headache lol. https://cloud-images.ubuntu.com/releases/focal/release/ubuntu-20.04-server-cloudimg-amd64.ova
    • E

      centos 8 cloud image + not changing cloud config hostname

      Watching Ignoring Scheduled Pinned Locked Moved Xen Orchestra
      10
      0 Votes
      10 Posts
      3k Views
      stormiS
      Thanks for sharing.
    • E

      not able to create VM on xvp-ng v8.0

      Watching Ignoring Scheduled Pinned Locked Moved Compute
      7
      0 Votes
      7 Posts
      2k Views
      E
      @thelearner https://xcp-ng.org/forum/post/20637 fixed! issue was virtualization was not enabled in BIOS settings logs on XOA was not good enough xcp-ng center gave me a better error log message of HVM is Required for this Operation thanks!