mirror of
https://github.com/edu4rdshl/linuxscripts.git
synced 2026-07-17 23:24:52 +00:00
Update
This commit is contained in:
parent
da432a987b
commit
c1736abbb6
6 changed files with 21 additions and 6 deletions
5
etc/systemd/nspawn/10-macvlan.network
Normal file
5
etc/systemd/nspawn/10-macvlan.network
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[Match]
|
||||
Type=ether
|
||||
|
||||
[Network]
|
||||
DHCP=ipv4
|
||||
11
etc/systemd/nspawn/ArchARM.nspawn
Normal file
11
etc/systemd/nspawn/ArchARM.nspawn
Normal 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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue