fix hasp + wsdd

This commit is contained in:
Dmitry Belyaev 2022-11-02 23:27:10 +03:00
parent 92d16290f9
commit 068b6137b1
1 changed files with 8 additions and 20 deletions

View File

@ -52,9 +52,7 @@ autoinstall:
- libnss-mdns
- cups
- wsdd
- libenchant-2-2
- libxt6
# - libenchant1c2a
late-commands:
- stat /cdrom/1c/install >/dev/null 2>/dev/null && sh -exc "mkdir -p /target/var/install/1c && cp /cdrom/1c/install/* /target/var/install/1c/" || echo skip 1c distr copy
- sync
@ -152,7 +150,7 @@ autoinstall:
# --- force locale install ---
- |
set -x
locale-gen ru_RU.UTF-8 en_US.UTF-8
locale-gen ru_RU.UTF-8 en_US.UTF-8
update-locale LANG=ru_RU.UTF-8
export LC_ALL=ru_RU.UTF-8
export LANG=ru_RU.UTF-8
@ -170,11 +168,11 @@ autoinstall:
# --- install hasp ---
- |
set -x
curl -SLo /tmp/ldk.zip https://thales-sentinel.ru/files/sentinel_ldk_run-time_linux.zip
unzip /tmp/ldk.zip Sentinel_LDK_Ubuntu_DEB_Run-time_Installer.tar.gz -d /tmp
tar xzf /tmp/Sentinel_LDK_Ubuntu_DEB_Run-time_Installer.tar.gz --strip-components=1 -C /tmp
sh -xc 'dpkg -i $(find /tmp -name "aksusb*amd64.deb" -type f)'
rm -f /tmp/ldk.zip /tmp/Sentinel_LDK_Ubuntu_DEB_Run-time_Installer.tar.gz /tmp/aksusbd*
mkdir -p /tmp/ldk
curl -SLo /tmp/ldk/installer.tar.gz https://b4tman.ru/Sentinel_LDK_Ubuntu_DEB_Runtime_Installer.tar.gz
tar xzf /tmp/ldk/installer.tar.gz --strip-components=1 -C /tmp/ldk
sh -xc 'dpkg -i $(find /tmp/ldk -name "aksusb*amd64.deb" -type f)'
rm -rf /tmp/ldk
# --- install ttf-mscorefonts ---
- |
@ -189,18 +187,8 @@ autoinstall:
- |
set -x
curl -SLo /tmp/pgpro-repo-add.sh https://repo.postgrespro.ru/pg1c-14/keys/pgpro-repo-add.sh
#mkdir /tmp/i
#cd /tmp/i
#curl -SL --remote-name-all \
# http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.2_amd64.deb \
# http://archive.ubuntu.com/ubuntu/pool/main/r/readline/libreadline7_7.0-3_amd64.deb \
# http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2.1_amd64.deb \
# http://archive.ubuntu.com/ubuntu/pool/universe/e/enchant/libenchant1c2a_1.6.0-11.3build1_amd64.deb \
# http://archive.ubuntu.com/ubuntu/pool/main/o/openldap/libldap-2.4-2_2.4.49+dfsg-2ubuntu1.8_amd64.deb
#cd /tmp
#apt-get install -y libtinfo5 libgssapi3-heimdal
#dpkg -i /tmp/i/*.deb || apt-get install -f -y
sh /tmp/pgpro-repo-add.sh
rm -f /tmp/pgpro-repo-add.sh
apt-get install -y postgrespro-1c-14-contrib
# --- postgres init ---
@ -320,4 +308,4 @@ autoinstall:
# remove default user folder
rm -rf /home/ubuntu
echo -- done! ---