fix hosts + 1c conf

This commit is contained in:
Dmitry Belyaev 2023-05-08 23:02:04 +03:00
parent 5e8175b546
commit f93ca565ce

View File

@ -151,6 +151,13 @@ autoinstall:
jd57Sm8Z9YWDYZ+SBoH7YgaO/5u+hH8Ao392zUwHAAA= jd57Sm8Z9YWDYZ+SBoH7YgaO/5u+hH8Ao392zUwHAAA=
runcmd: 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 --- # --- force locale install ---
- | - |
set -x set -x
@ -231,6 +238,7 @@ autoinstall:
# --- 1c config --- # --- 1c config ---
- | - |
echo \ \ >> /opt/1cv8/conf/conf.cfg
echo "JavaHome=/opt/1cv8/x86_64/current/jre" >> /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 "JAVA_HOME=/opt/1cv8/x86_64/current/jre" >> /opt/1cv8/conf/conf.cfg
echo "UpdateDBCfg=v2" >> /opt/1cv8/conf/conf.cfg echo "UpdateDBCfg=v2" >> /opt/1cv8/conf/conf.cfg