Update Proxmox/ThunderboltNetwork.md
This commit is contained in:
@@ -31,6 +31,17 @@ Adjust the `/etc/network/interfaces`. Remove any section that belongs to any aut
|
|||||||
```python
|
```python
|
||||||
sed -i '/^source \/etc\/network\/interfaces\.d\/\*$/d' /etc/network/interfaces
|
sed -i '/^source \/etc\/network\/interfaces\.d\/\*$/d' /etc/network/interfaces
|
||||||
sed '${/^$/d;}' /etc/network/interfaces > temp.txt && mv temp.txt /etc/network/interfaces
|
sed '${/^$/d;}' /etc/network/interfaces > temp.txt && mv temp.txt /etc/network/interfaces
|
||||||
|
|
||||||
|
tee -a /etc/network/interfaces <<EOF
|
||||||
|
allow-hotplug en05
|
||||||
|
iface en05 inet manual
|
||||||
|
mtu 65520
|
||||||
|
|
||||||
|
allow-hotplug en06
|
||||||
|
iface en06 inet manual
|
||||||
|
mtu 65520
|
||||||
|
EOF
|
||||||
|
|
||||||
nano /etc/network/interfaces
|
nano /etc/network/interfaces
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user