projects
/
contrib
/
pines
/
genasys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fa3f53
)
Add missing procedure to set primary interface on host when using netplan
author
Andy Witter
<awitter@georgialibraries.org>
Wed, 13 Nov 2019 18:51:31 +0000
(13:51 -0500)
committer
Andy Witter
<awitter@georgialibraries.org>
Wed, 13 Nov 2019 18:51:31 +0000
(13:51 -0500)
templates/setup-functions
patch
|
blob
|
history
diff --git
a/templates/setup-functions
b/templates/setup-functions
index
65feff9
..
095be74
100755
(executable)
--- a/
templates/setup-functions
+++ b/
templates/setup-functions
@@
-162,6
+162,7
@@
fi
if [ ! -z "$PRIMARY_INTERFACE" ]; #TODO update variable - done
then
sed -i "s/Primary_IF/$PRIMARY_INTERFACE/g" /etc/network/interfaces #TODO update variable - done
+ sed -i "s/Primary_IF/$PRIMARY_INTERFACE/g" /etc/netplan/config.yaml
else
echo "ERROR: Unable to set primary interface. You must edit /etc/network/interfaces manually."
fi