diff --git a/config/nocloud/user-data b/config/nocloud/user-data index 666d90c..3ec3083 100644 --- a/config/nocloud/user-data +++ b/config/nocloud/user-data @@ -151,6 +151,13 @@ autoinstall: jd57Sm8Z9YWDYZ+SBoH7YgaO/5u+hH8Ao392zUwHAAA= runcmd: + # --- fix hosts --- + -| + set -x + echo " " >> /etc/hosts + echo "127.0.0.1 localhost srv1c srv1c.local" >> /etc/hosts + echo "::1 localhost srv1c srv1c.local" >> /etc/hosts + # --- force locale install --- - | set -x @@ -231,6 +238,7 @@ autoinstall: # --- 1c config --- - | + echo \ \ >> /opt/1cv8/conf/conf.cfg echo "JavaHome=/opt/1cv8/x86_64/current/jre" >> /opt/1cv8/conf/conf.cfg echo "JAVA_HOME=/opt/1cv8/x86_64/current/jre" >> /opt/1cv8/conf/conf.cfg echo "UpdateDBCfg=v2" >> /opt/1cv8/conf/conf.cfg