Howto freepbx debian12: Difference between revisions

From Vidalinux Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
add the following configuration:
add the following configuration:
  [Match]
  [Match]
  Name=eth0
  Name=enp1s0
   
   
  [Network]
  [Network]
Line 16: Line 16:
  DNS=4.2.2.1
  DNS=4.2.2.1
  DNS=4.2.2.2
  DNS=4.2.2.2
enable networkd service:
systemctl enable --now systemd-networkd

Revision as of 18:29, 9 September 2024

download cloud image:

wget http://cdimage.debian.org/cdimage/cloud/bookworm/latest/debian-12-generic-amd64.qcow2

resize cloud image:

qemu-img resize debian-12-generic-amd64.qcow2 +8GB

change root password to image:

virt-sysprep -a debian-12-generic-amd64.qcow2 -q --root-password password:livinglavidalinux

boot with image and configure network:

nano /etc/systemd/network/20-wired.network

add the following configuration:

[Match]
Name=enp1s0

[Network]
Address=192.168.75.25/24
Gateway=192.168.75.1
DNS=4.2.2.1
DNS=4.2.2.2

enable networkd service:

systemctl enable --now systemd-networkd