feat: add sudo cat for adding a nameserver instructions
This commit is contained in:
parent
82c9581727
commit
95b55ca398
@ -151,7 +151,7 @@ jobs:
|
||||
- run: sudo sed -i '13 i \ \ \ \ \ \ \ \ \ \ \ \ nameservers:' /etc/netplan/50-cloud-init.yaml
|
||||
- run: sudo sed -i '14 i \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ addresses:' /etc/netplan/50-cloud-init.yaml
|
||||
- run: sudo sed -i "s/addresses:/ addresses":" [8.8.8.8, 8.8.4.4] /g" /etc/netplan/50-cloud-init.yaml
|
||||
- run: cat /etc/netplan/50-cloud-init.yaml
|
||||
- run: sudo cat /etc/netplan/50-cloud-init.yaml
|
||||
- run: sudo netplan apply
|
||||
- run:
|
||||
name: Publish
|
||||
|
Loading…
Reference in New Issue
Block a user