From 5a6271f63fbb5d1d269c7ba62a55289ac9b5ef11 Mon Sep 17 00:00:00 2001 From: dennis Date: Tue, 12 Nov 2019 11:13:17 +0100 Subject: moving from skeleton to extra, and disabling dhcp --- .../etc/systemd/network/80-container-host0.network | 1 + mkosi.extra/etc/systemd/network/wired.network | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 120000 mkosi.extra/etc/systemd/network/80-container-host0.network create mode 100644 mkosi.extra/etc/systemd/network/wired.network (limited to 'mkosi.extra/etc/systemd/network') diff --git a/mkosi.extra/etc/systemd/network/80-container-host0.network b/mkosi.extra/etc/systemd/network/80-container-host0.network new file mode 120000 index 0000000..dc1dc0c --- /dev/null +++ b/mkosi.extra/etc/systemd/network/80-container-host0.network @@ -0,0 +1 @@ +/dev/null \ No newline at end of file diff --git a/mkosi.extra/etc/systemd/network/wired.network b/mkosi.extra/etc/systemd/network/wired.network new file mode 100644 index 0000000..126654d --- /dev/null +++ b/mkosi.extra/etc/systemd/network/wired.network @@ -0,0 +1,15 @@ +[Match] +Name=host0 + +[Network] +DHCP=false +DNS=127.0.0.1 +Domains=dnns.no +Address=192.168.1.250 +Gateway=192.168.1.1 +Address=10.71.2.2/24 + +[Route] +Gateway=10.71.2.1 +Destination=10.71.2.0/24 +GatewayOnlink=true -- cgit v1.2.3