1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | (amd64)ubuntu@localhost:~$ cat > cfg.yaml <<'EOF'
> config:
> ubuntu-core:
> network:
> ppp:
> - name: chap-secrets
> content: mysecret
> EOF
(amd64)ubuntu@localhost:~$ sudo snappy config ubuntu-core cfg.yaml
config:
ubuntu-core:
autopilot: true
timezone: Etc/UTC
hostname: localhost.localdomain
modprobe: ""
network:
interfaces:
- name: eth0
content: |
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
ppp:
- name: chap-secrets
content: mysecret
[...]
|