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
357673f98f
new: [docker-host] compatibility with debian 9
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
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
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
4bcd129e14
fix: some debian install on ovh don't have ``file`` installed.
6 years ago
Valentin Lab
e340355516
fix: [docker-host] ``python-software-properties`` does not exist anymore on debian stretch
6 years ago
Valentin Lab
bbb1a053e0
new: added ``vim`` to base install script
It seems debian 9 doesn't have vim by default.
6 years ago
Valentin Lab
894bf065f9
new: [docker-host] change all install script to support update.
6 years ago
Valentin Lab
f4d837a565
new: removed all the ``start`` and ``stop`` scripts.
They are not used and have currently no meanings. Besides, I'm not sure
I want to keep them for a future development anyway.
8 years ago
Valentin Lab
c0fc32f0c2
fix: [base-0k] bogus line wouldn't install ``language-pack-en`` on ``Ubuntu`` targets.
8 years ago
Valentin Lab
53d2dd150c
chg: dev: [base-0k] replacing ``install`` hook to run ``install.d`` scripts.
8 years ago
Valentin Lab
01e4ea4c40
new: [base-0k] kalysto repository now is signed and uses ``https``.
8 years ago
Valentin Lab
df4ca887db
new: use links temporarily to express inheritance.
8 years ago
Valentin Lab
0af627d240
fix: [base-0k] should set up a global git user with ``--global`` and not ``--system``.
9 years ago
Valentin Lab
0561fec7bb
fix: [base-0k] debian protection.
9 years ago
Valentin Lab
cdae2288e3
chg: dev: [base-0k] load kalysto deb repository only if not already done and update indexes.
10 years ago
Valentin Lab
755a58df62
fix: [base-0k] Setting a default empty value for DOCKER
Avoid ``set -eux`` complaining about variable not set when launched
from various script. (Docker setup failed and lxc-script failed and
even direct usage will fail without this.)
10 years ago
Valentin Lab
1c3caebc7a
fix: [base-0k] cloning should use environment variables.
10 years ago
Valentin Lab
9b0927af37
chg: [base-0k] remove ``etckeeper`` when in docker mode.
It makes no sense to install ``etckeeper`` in docker mode.
10 years ago
Valentin Lab
abcec0d149
chg: dev: remove obsolete and commented code. !minor
10 years ago
root
4899047c5a
new: [base-0k] added a default gitignore file.
11 years ago
Valentin Lab
540d08ada3
fix: dev: [base-0k] removing trailing whitespace and fixing indentation !minor
11 years ago
Valentin Lab
8dec082f41
fix: [base-0k] don't use ``~`` expansion and be explicit, this will avoid surprise when running lxc-deploy with ``sudo``.
The script should assume that the HOME is correctly set to ``/root``.
11 years ago
Valentin Lab
65c6c83dc7
fix: [base-0k] new location for last version of ``git-sub``.
11 years ago
Valentin Lab
d638f5e225
fix: [base-0k] disable nfs code. !minor
Probably will remove all nfs code as it proved to be very fragile and prompt to
very badly freeze a lot of daemon and would eventually bring down the host.
11 years ago
Valentin Lab
f797c0265f
fix: [base-0k] un-necessary ``apt-get update``. !minor
This is already done by ``lxc-scripts``.
11 years ago
Valentin Lab
3740a024b7
fix: in some image, ``/root/.ssh`` does not exist leading to charm failure.
11 years ago
Nicolas Jeudy
31deb0d07e
fix: compatibility with trusty cloud images.
11 years ago
Valentin Lab
d411f2a584
new: added history config in default root ``.bashrc``.
12 years ago
Nicolas JEUDY
c68ce203bf
fix: set right permission on ssh key
12 years ago
Valentin Lab
ce79fe9e2d
new: added ``git-sub`` command to ``base-Ok``.
12 years ago
Valentin Lab
9fab03c1cd
new: enable access to ``git.0k.io`` from other LXC
12 years ago
Valentin Lab
56c687591e
fix: whitespaces and comment @cosmetic
12 years ago
Valentin Lab
ca2c258a0d
new: added more shell configuration (better prompt, glog) to ``base-0k``.
12 years ago
Valentin Lab
80bbd3918c
fix: unecessary duplicate code.
12 years ago
root
3d02066028
new: adding some charms
12 years ago
root
83e8435113
first commit
12 years ago