summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorggilestro2019-06-25 11:09:11 +0100
committerggilestro2019-06-25 11:09:11 +0100
commitc795167ba0259924954a427a3d76168e57af1aa3 (patch)
tree9f2015eb9a66b1c40a668b7f65a486031c2390a3
parente8c13431daa400b17b0637ea2420855aedb2b1f6 (diff)
downloadaur-c795167ba0259924954a427a3d76168e57af1aa3.tar.gz
Changing hostname on node
-rw-r--r--ethoscope-node.install5
1 files changed, 5 insertions, 0 deletions
diff --git a/ethoscope-node.install b/ethoscope-node.install
index c61c5e3ddc9b..d3c96a013f88 100644
--- a/ethoscope-node.install
+++ b/ethoscope-node.install
@@ -16,6 +16,11 @@ post_install() {
systemctl enable ethoscope_node.service ethoscope_update_node.service ethoscope_backup.service ethoscope_video_backup.service
echo "enabling the GIT server on the node"
systemctl enable git-daemon.socket
+
+ #changing hostname on node
+ echo "node" > /etc/hostname
+
+ #PLEASE REBOOT NOW.
}
## arg 1: the new package version