Add hostname prefix config
This commit is contained in:
parent
bcc1d3424f
commit
d1d8f03a8d
|
@ -34,7 +34,7 @@ EOF
|
||||||
esac
|
esac
|
||||||
|
|
||||||
uci -q batch <<EOF
|
uci -q batch <<EOF
|
||||||
set system.@system[0].hostname='gluon-${macaddr//:/}'
|
set system.@system[0].hostname='@hostname_prefix@-${macaddr//:/}'
|
||||||
set system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
|
set system.@system[0].timezone='CET-1CEST,M3.5.0,M10.5.0/3'
|
||||||
commit system
|
commit system
|
||||||
EOF
|
EOF
|
Loading…
Reference in New Issue