Valentin Lab
d41b321316
fix: [base] make ``shyaml`` installation compatible with ``Ubuntu 22.04`` distribution
1 year ago
Valentin Lab
7f1c70c232
fix: [base] make ``apt-get update`` pass on debian 10 after release info change
1 year ago
Valentin Lab
a1ee88b3af
chg: [base] set a saner ``~/.vimrc`` to have better yaml indentation
1 year ago
Valentin Lab
4d068cc06c
fix: [base] update debian 9 repository URL to archive for backports (to have ``fzf``)
1 year ago
Valentin Lab
b5e438e1d9
fix: [base] target debian ``9.13`` as well as ``9`` when installing ``fzf``
1 year ago
Valentin Lab
81551b8b4d
new: [base] use ``set -eux`` more consistently between scripts
1 year ago
Valentin Lab
12a0c75b96
fix: [base] avoid appending new bits of code in ``~/.bash_profile``
This script was not idempotent, and that was an oversight.
1 year ago
Valentin Lab
b0f3a290dc
fix: [docker-host] make ``apt-get update`` failure fatal, and deal with some known and fixable issues
1 year ago
Valentin Lab
f1c012026e
fix: [docker-host] use 'python3' as 'python' executable if missing
1 year ago
Valentin Lab
3cfe6991ed
new: [base] ensure that we have GNU awk and not some alternatives
1 year ago
Valentin Lab
c007240f99
fix: [base-0k] ensure that ``lsb_release`` is available
WSL2 debian's 11 doesn't provide package ``lsb_release``
2 years ago
Valentin Lab
d217e330b1
fix: [base-0k] add debian 11 compatibility fixes
2 years ago
Valentin Lab
63b95117bc
new: [base] add ``yq`` to our base install
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
2 years ago
Valentin Lab
76b7d3bddb
new: [base-0k] make kalysto's deb repository installation and update stronger
When partially installed, key's were not checked and update could result
in errors due to NO_PUBKEY despite having the code to install a new key.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
dfc8198ecb
fix: [docker-host] catch common debian mis-usage that prevents ``locale-gen`` to be used
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
0591d3cc1c
fix: [docker-host] support fixing root SSL certificate for older hosts
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
8fd483810a
fix: [docker-host] fix root cert list if necessary to remove expired "DST_Root_CA-X3" cert.
Otherwise all SSL usage (``apt-get update``, ``curl https...``)
towards servers using certificate that is endorsed by this root
certificate, will fail. This includes Let's encrypt 4 Billions
certificates.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
6d3e7ce648
new: [host] several small adjustments
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f43ff7d5f0
new: [host] add ``logrotate``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
64cf4a75c8
new: [host] add ``ntp``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
357673f98f
new: [docker-host] compatibility with debian 9
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0c6e2e6496
fix: dev: [host] was failing if ``$NO_DOCKER_RESTART`` was not set
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f6babaf98c
new: [host] allow long bash history conservation and saving of all commands, added fzf
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d116de79e8
fix: dev: [host] on debian 9, ``setuptools`` was not installed and required
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3fdd628f66
fix: dev: [host] we don't always have ``kal-shlib`` when executing this
We want to be able to take these script maybe independently, in
this light, we can't use ``kal-shlib``'s facilities.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d3f9028aee
new: dev: [host] added ``$NO_DOCKER_RESTART`` variable to disable restarting docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5ed8035520
fix: dev: removed ``--force-yes`` everywhere as it is deprecated
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f2d61037b0
fix: [docker-host] don't touch an already installed version of docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
435ef3da11
fix: [host,rsync-backup] ensure ``kal-shlib``'s are installed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7c83ad0b97
new: [host] minimal host backup config
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93ec99f21f
new: [host] add cron to ``mirror-dir-check`` call
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
48678f64e9
fix: [host] ``shorewall`` installation on debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
84b271b344
fix: [host] ensure to use the full ``kill`` binary
In some circumstances a call to ``kill`` will trigger the
builtin of your shell and could not support given options.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6a221ea964
fix: [host] ``/etc/resolv.conf`` does not support comments
And search configuration is not required.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
deea56bd50
new: [host] add explicit installation of ``bind9``
This is required in debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0878a98dd2
fix: [host] ``dnsmasq`` configuration upgrade
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4f4c41caa9
fix: [host] backup scripts will require ``pick2del_backups`` to be available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d7488054f4
fix: [host] corrected typo in inserted comment of ``/etc/compose/local.conf`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1da56fd41e
new: [host] check if curl is already installed
This was needed in debian 10.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a58f06ebc9
new: [host] debian 10 lxc configuration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
33c92f3be6
new: [host] new dependencies for ``btrfs-tools``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
de449d1921
chg: [docker-host] don't force ``DEFAULT_COMPOSE_FILE`` in ``/etc/compose/local.conf``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
70405dbf47
new: [docker-host] include dependencies of new `docker-tags-fetch` command
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6146924eba
fix: [docker-host] debian 10 compatibility, removing support for registry v1
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
66be919b7d
chg: [host] remove =docker-clean= from general install
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e40993e9c2
fix: dev: [base-0k] improve copy-pasting compatibility !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
43b213633c
fix: [docker-host] Could not find ``gpg`` on some platform.
For instance debian buster (10) does not include a ``gpg`` binary by default.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
960677541f
fix: support updating to compatible layout in ``/srv/charm-store``
Last ``compose`` will require ``/srv/charm-store`` not to use symbolic links
because of bad support in windows support.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
c08e2df39e
new: [docker-registry,docker-registry-auth] new charm
6 years ago
Valentin Lab
bcdbb12061
fix: [docker-builder,host] update path when using ``0k-docker`` scripts
6 years ago