gyptazy.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.

This server runs the snac software and there is no automatic sign-up process.

Site description
Only tech related content - nothing else!
Admin email
contact@gyptazy.com

Search results for tag #pve

13 ★ 10 ↺
Thomas Liske boosted

[?]o gyptazy »

12 ★ 8 ↺
Thomas Liske boosted

[?]o gyptazy »

DRS but for #Proxmox? Yes!

With #ProxLB (free and #opensource / #GPLv3) you can get something which comes close to it - also featuring things like affinity/anti-affinity rules, node pinning, grouping and maintenance mode for multiple nodes. And if you’re even more interested, there’ll be a talk about my project at the #DutchProxmoxDay next month :)

#drs #loadbalancing #gpl #gpl3 #pve #proxmox9 #virtualization #alternatives #vmware #esx #KVM

https://github.com/gyptazy/ProxLB

    #proxmox boosted

    [?]o Chris »

    quicktipp #101: Proxmox PVE: Using `virt-customize` (from `libguestfs-tools`) to inject the qemu-guest-agent into the Ubuntu cloudimage.

    Other than i.e. the Fedora cloudimage, the stock Ubuntu cloudimage comes without the qemu-guest-agent preinstalled. Here's an easy way to add it using the `virt-customize` tool.

    -pve -init

    # we are on a Promox PVE host
$ cd /var/lib/vz/images/1124

# this is an "empty" VM (with cloud-init drive) that we want to use
# as base for a new Ubuntu 24.04 cloudimage template
$ ls
vm-1124-cloudinit.qcow2  vm-1124-disk-0.qcow2

# to do so, we overwrite the empty disk with the stock Ubuntu 24.04 qcow2 cloudimage
$ url='https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img'
$ curl -o vm-1124-disk-0.qcow2 $url

# other than i.e. the Fedora cloudimage, the Ubuntu cloudimage does not have
# the qemu-guest-agent preinstalled, so we need to inject it

# if needed install libguestfs-tools (not installed by default in PVE)
$ apt install libugestfs-tools

# and add to qemu-guest-agent package to the Ubuntu cloudimage
$ virt-customize -a vm-1124-disk-0.qcow2 --install qemu-guest-agent
[   0.0] Examining the guest ...
[   3.4] Setting a random seed
virt-customize: warning: random seed could not be set for this type of
guest
[   3.4] Setting the machine ID in /etc/machine-id
[   3.4] Installing packages: qemu-guest-agent
[  13.9] Finishing off

# now resize the disk to whatever your minimum size for new VMs should be
# (you could also resize in the PVE webui, but doing it here will
# give us an exact GB value, not a MB fractional value)
$ qemu-img resize vm-1124-disk-0.qcow2 16G

# now any VM cloned from this template VM will bootstrap itself via cloud-init
# and automatically have the qemu-guest-agent preinstalled

    Alt...# we are on a Promox PVE host $ cd /var/lib/vz/images/1124 # this is an "empty" VM (with cloud-init drive) that we want to use # as base for a new Ubuntu 24.04 cloudimage template $ ls vm-1124-cloudinit.qcow2 vm-1124-disk-0.qcow2 # to do so, we overwrite the empty disk with the stock Ubuntu 24.04 qcow2 cloudimage $ url='https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img' $ curl -o vm-1124-disk-0.qcow2 $url # other than i.e. the Fedora cloudimage, the Ubuntu cloudimage does not have # the qemu-guest-agent preinstalled, so we need to inject it # if needed install libguestfs-tools (not installed by default in PVE) $ apt install libugestfs-tools # and add to qemu-guest-agent package to the Ubuntu cloudimage $ virt-customize -a vm-1124-disk-0.qcow2 --install qemu-guest-agent [ 0.0] Examining the guest ... [ 3.4] Setting a random seed virt-customize: warning: random seed could not be set for this type of guest [ 3.4] Setting the machine ID in /etc/machine-id [ 3.4] Installing packages: qemu-guest-agent [ 13.9] Finishing off # now resize the disk to whatever your minimum size for new VMs should be # (you could also resize in the PVE webui, but doing it here will # give us an exact GB value, not a MB fractional value) $ qemu-img resize vm-1124-disk-0.qcow2 16G # now any VM cloned from this template VM will bootstrap itself via cloud-init # and automatically have the qemu-guest-agent preinstalled