Deduplicate script

Change-Id: I2ab3ecdc2efd7478750bb32f2863211489132eda
diff --git a/day01-image/scripts/base_set_hostname.sh b/day01-image/scripts/base_set_hostname.sh
new file mode 100644
index 0000000..eb1a10e
--- /dev/null
+++ b/day01-image/scripts/base_set_hostname.sh
@@ -0,0 +1,4 @@
+#!/bin/bash -xe
+
+echo '127.0.0.1 localhost' >> /etc/hosts
+echo '127.0.0.1 cfg01 cfg' >> /etc/hosts