summaryrefslogtreecommitdiff
path: root/spec/one_node/vyos_script.sh
blob: 9d692045fcae9e7305f605270fabae1f789d9b67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/vbash

if [ "$(id -g -n)" != 'vyattacfg' ] ; then
  exec sg vyattacfg -c "/bin/vbash $(readlink -f $0) $@"
fi

source /opt/vyatta/etc/functions/script-template

set system host-name router
set system domain-name example.com
set system time-zone Asia/Tokyo

commit
save