This commit is contained in:
Edu4rdSHL 2021-04-29 18:49:55 -05:00
parent da432a987b
commit c1736abbb6
No known key found for this signature in database
GPG key ID: 3A574A4009F553E5
6 changed files with 21 additions and 6 deletions

View file

@ -0,0 +1,5 @@
[Match]
Type=ether
[Network]
DHCP=ipv4

View file

@ -0,0 +1,11 @@
[Exec]
Boot=true
PrivateUsers=pick
[Files]
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
MACVLAN=bond1

View file

@ -3,9 +3,9 @@ Boot=true
PrivateUsers=false
[Files]
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
VirtualEthernet=false
MACVLAN=bond1

View file

@ -4,7 +4,6 @@ Capability=CAP_NET_ADMIN
PrivateUsers=false
[Files]
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
Bind=/proc/sys/net/ipv4/ip_forward
BindReadOnly=/tmp/.X11-unix

View file

@ -1,11 +1,12 @@
[Exec]
Boot=true
Capability=CAP_NET_ADMIN
PrivateUsers=pick
[Files]
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix
BindReadOnly=/etc/systemd/nspawn/10-macvlan.network:/etc/systemd/network/10-macvlan.network
[Network]
VirtualEthernet=false
MACVLAN=bond1

View file

@ -4,7 +4,6 @@ Capability=CAP_NET_ADMIN
PrivateUsers=false
[Files]
Bind=/run/user/1000/pulse/native:/tmp/pulse_server
Bind=/etc/systemd/nspawn/20-machines-profile.sh:/etc/profile.d/20-machines-profile.sh
BindReadOnly=/tmp/.X11-unix