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

    kiu

    @kiu

    2
    Reputation
    8
    Profile views
    20
    Posts
    0
    Followers
    1
    Following
    Joined
    Last Online
    Age 27
    Website netwaze.fr
    Location Auxerre

    kiu Unfollow Follow

    Best posts made by kiu

    • RE: Xscontainer

      @stormi My bad. Ok I installed the nmap-ncat package under rockylinux and works perfectly now 🙂 Thank you 🙂

      posted in Advanced features
      kiuK
      kiu
    • RE: DevOps Megathread: what you need and how we can help!

      Hi, there,
      You would need an ansible XOA provider to be able to create virtual machines with a template like vmware does:

      - name: clone VM
           vmware_guest:
             hostname: "{{ vcenter_hostname }}"
             username: "{{ vcenter_username }}"
             password: "{{ vcenter_password }}"
             validate_certs: "{{ vcenter_validate_certs }}"
             datacenter: "{{ vcenter_datacenter }}"
             cluster: "{{ vcenter_cluster }}"
             name: SRV-NAMEVM
             folder: FOLDERTEST
             template: "{{ vm_template }}"
             networks:
               - name: LAN NETWORK
                 ip: "{{ new_ip }}"
                 netmask: "{{ netmask }}"
                 gateway: "{{ gateway }}"
                 domain: "{{ domain }}"
             wait_for_ip_address: True
             customization:
               hostname: "{{ hostname }}"
               domain: "{{ domain }}"
               dns_servers:
               - "{{ dns1 }}"
               - "{{ dns2 }}"
               dns_suffix:
               - "{{ domain }}"
             state: poweredon
      

      Same for recovering and deleting the VM from ansible :

      - name: INFO VM
            vmware_guest_info:
              hostname: "{{ vcenter_hostname }}"
              username: "{{ vcenter_username }}"
              password: "{{ vcenter_password }}"
              validate_certs: "{{ vcenter_validate_certs }}"
              datacenter: "{{ vcenter_datacenter }}"
              name: SRV-NAMEVM
            delegate_to: localhost
            register: vm_info
      
      - name: Shutdown VM...
            vmware_guest:
              hostname: "{{ vcenter_hostname }}"
              username: "{{ vcenter_username }}"
              password: "{{ vcenter_password }}"
              validate_certs: "{{ vcenter_validate_certs }}"
              datacenter: "{{ vcenter_datacenter }}"
              name: SRV-NAMEVM
              state: poweredoff
      
          - name: delete VM...
            vmware_guest:
              hostname: "{{ vcenter_hostname }}"
              username: "{{ vcenter_username }}"
              password: "{{ vcenter_password }}"
              validate_certs: "{{ vcenter_validate_certs }}"
              datacenter: "{{ vcenter_datacenter }}"
              name: SRV-NAMEVM
              state: absent
      
      posted in Infrastructure as Code
      kiuK
      kiu

    Latest posts made by kiu

    • RE: RHEL UEFI boot bug

      Hello, thank you for your reply @bogikornel @TrapoSAMA . Here are my processor specifications: Intel Xeon E5-1620 v2 (8) @ 3.691GHz.
      Unfortunately @Andrew , I have to use RHEL 10 on my server ^^ but thank you for providing the link. I will change my processor/server.

      posted in XCP-ng
      kiuK
      kiu
    • RHEL UEFI boot bug

      Hello, I tried to install Red Hat Enterprise Linux 10, and when I boot from the ISO image, I get this message:

      Capture_decran_2025-08-21_a_20.33.15.png

      I tried with RHEL 9.6 and didn't have this problem. I am currently running XCP 8.3 and tested the installation on an ESXI 8 of RHEL 10, which passed. I don't know if the problem comes from XCP or RHEL.

      If you have any ideas, I'm all ears 🙂

      posted in XCP-ng
      kiuK
      kiu
    • RE: DevOps Megathread: what you need and how we can help!

      Hi, there,
      You would need an ansible XOA provider to be able to create virtual machines with a template like vmware does:

      - name: clone VM
           vmware_guest:
             hostname: "{{ vcenter_hostname }}"
             username: "{{ vcenter_username }}"
             password: "{{ vcenter_password }}"
             validate_certs: "{{ vcenter_validate_certs }}"
             datacenter: "{{ vcenter_datacenter }}"
             cluster: "{{ vcenter_cluster }}"
             name: SRV-NAMEVM
             folder: FOLDERTEST
             template: "{{ vm_template }}"
             networks:
               - name: LAN NETWORK
                 ip: "{{ new_ip }}"
                 netmask: "{{ netmask }}"
                 gateway: "{{ gateway }}"
                 domain: "{{ domain }}"
             wait_for_ip_address: True
             customization:
               hostname: "{{ hostname }}"
               domain: "{{ domain }}"
               dns_servers:
               - "{{ dns1 }}"
               - "{{ dns2 }}"
               dns_suffix:
               - "{{ domain }}"
             state: poweredon
      

      Same for recovering and deleting the VM from ansible :

      - name: INFO VM
            vmware_guest_info:
              hostname: "{{ vcenter_hostname }}"
              username: "{{ vcenter_username }}"
              password: "{{ vcenter_password }}"
              validate_certs: "{{ vcenter_validate_certs }}"
              datacenter: "{{ vcenter_datacenter }}"
              name: SRV-NAMEVM
            delegate_to: localhost
            register: vm_info
      
      - name: Shutdown VM...
            vmware_guest:
              hostname: "{{ vcenter_hostname }}"
              username: "{{ vcenter_username }}"
              password: "{{ vcenter_password }}"
              validate_certs: "{{ vcenter_validate_certs }}"
              datacenter: "{{ vcenter_datacenter }}"
              name: SRV-NAMEVM
              state: poweredoff
      
          - name: delete VM...
            vmware_guest:
              hostname: "{{ vcenter_hostname }}"
              username: "{{ vcenter_username }}"
              password: "{{ vcenter_password }}"
              validate_certs: "{{ vcenter_validate_certs }}"
              datacenter: "{{ vcenter_datacenter }}"
              name: SRV-NAMEVM
              state: absent
      
      posted in Infrastructure as Code
      kiuK
      kiu
    • RE: Xscontainer

      @stormi My bad. Ok I installed the nmap-ncat package under rockylinux and works perfectly now 🙂 Thank you 🙂

      posted in Advanced features
      kiuK
      kiu
    • RE: Xscontainer

      My server is up to date

      posted in Advanced features
      kiuK
      kiu
    • RE: Xscontainer

      @stormi

      Would you like to push a pool-specific public SSH key into the ~/.ssh/authorized_keys file of the specified VM and therefore authorize hosts in the pool to interact with the containers inside the VM?
      Answer y/n: 
      y
      Attempting to push the public xscontainer key to USER@IP.
      ID@IP's password: 
      Success.
      Attempting to refresh the state of the VM
      Failure diagnosis: Unable to find ncat inside the VM. Please install ncat. 
      Do you wish to retry?
      Answer y/n:
      
      posted in Advanced features
      kiuK
      kiu
    • RE: Xscontainer

      @stormi I still have the same problem, the key does not want to install and asks me if I want to try again.

      posted in Advanced features
      kiuK
      kiu
    • RE: Xscontainer

      @stormi Thanks, I just tried that and it still doesn't work 😞

      posted in Advanced features
      kiuK
      kiu
    • RE: Xscontainer

      @stormi I tried to do it but I don't think I succeeded. Could you send me a more specific doc of what you are doing?

      thanks 🙂

      posted in Advanced features
      kiuK
      kiu
    • RE: Xscontainer

      @stormi OK, thanks. I will try your solution on a small lab.

      posted in Advanced features
      kiuK
      kiu