DRIVE OS Version: Provide DRIVE OS version. Example: Docker 6.0.10 etc
Error String: Permission Denied
Issue Description:
Following the steps for setting up static ip for ssh access to eqos_0:
When i try to run the below :
sudo cat >/etc/netplan/01-network-manager-all.yaml
I am getting permission denied. Does the Netplan setup need additional steps for me to create/configure the yaml file under /etc/netplan? or do i need to modify this file as "sudo su"?
The Permission Denied error occurs because shell redirection (>) runs with your standard user permissions, not sudo. You do not need to switch to sudo su.
Instead, use sudo tee to write to /etc/netplan/:
sudo tee /etc/netplan/01-network-manager-all.yaml << 'EOF'
network:
version: 2
renderer: NetworkManager
ethernets:
eqos_0:
dhcp4: no
addresses:
- 192.168.1.100/24
routes:
- to: default
via: 192.168.1.1
nameservers:
addresses:
- 8.8.8.8
EOF