- Jun 03, 2020
-
-
Michael Prokop authored
Related to commit 07e835ea and the discussion within https://github.com/grml/grml-debootstrap/pull/153 If execution of --sshcopyid fails, then user might want to be aware of it. So instead of implementing the copying of .ssh/authorized_keys as fallback of --sshcopyid, let's provide it via cmdline option --sshcopyauth. Reviewed-by: Chris Hofstaedtler Reviewed-by: Darshaka Pathirana Closes: https://github.com/grml/grml-debootstrap/pull/153
-
- May 12, 2020
-
-
Michael Prokop authored
-
Michael Prokop authored
This is much better for (code) reviews
-
Michael Prokop authored
-
- Dec 13, 2019
-
-
Michael Prokop authored
When invoking grml-debootstrap as user without /usr/sbin inside $PATH, then the debootstrap binary will not be found and executing `grml-debootstrap --version` fails with `debootstrap not installed`. Closes: https://github.com/grml/grml-debootstrap/issues/147
-
Michael Prokop authored
We need the /run/udev bind-mount to be present also when doing VM installations for buster and newer, otherwise the installation takes loooong due to the: | WARNING: Device /dev/... not initialized in udev database even after waiting 10000000 microseconds bug. As the /run/udev bind-mount is already gone we need to resurrect before invoking update-grub in the VM installation.
-
- Dec 10, 2019
-
-
Michael Prokop authored
-
- Oct 22, 2019
-
-
Michael Prokop authored
-
Michael Prokop authored
-
Michael Prokop authored
Fixes package-uses-old-debhelper-compat-version lintian warning
-
- Oct 15, 2019
-
-
Michael Prokop authored
-
Michael Prokop authored
-
Michael Prokop authored
-
Michael Prokop authored
-
Michael Prokop authored
The unstable environment seems to be flasky, though the stretch one seems to be stable so far, let's try to update it towards buster.
-
- Aug 29, 2019
-
-
Michael Prokop authored
Inspired by Marc Haber's bug report #936050 and what Fedora does with their anaconda installer.
-
- Aug 22, 2019
-
-
Michael Prokop authored
BOOT_APPEND works only for VMs when being invoked within grub_install() inside main grml-debootstrap, move its handling to chroot-script instead. See https://github.com/grml/grml-debootstrap/issues/106
-
Michael Prokop authored
For example when partition table is GPT but grub installation expects a MS-DOS partition table, then grub-install fails but grml-debootstrap ignored this. Since the system isn't bootable then this might go unnoticed, so properly fail as soon as grub-install returns with exit code != 0.
-
Michael Prokop authored
SC2181 = See if you can use ${variable//search/replace} instead This doesn't work for the $CHROOT_VARIABLES which includes variables with strings like "/", so we can't rely on the ${variable//search/replace} approach. Quoting from https://github.com/koalaman/shellcheck/wiki/SC2001: | Utilizing some of the more complex capabilities of sed is | required occasionally and it is safe to ignore SC2001.
-
- Jul 12, 2019
-
-
Michael Prokop authored
-
Michael Prokop authored
-
Michael Prokop authored
Quoting from https://lists.debian.org/debian-devel-announce/2019/07/msg00004.html: | over the last years we had people getting confused over <suite>-updates | (recommended updates) and <suite>/updates (security updates). Starting | with Debian 11 "bullseye" we have therefore renamed the suite including | the security updates to <suite>-security. | | An entry in sources.list should look like | | deb http://security.debian.org/debian-security bullseye-security main | | For previous releases the name will not change.
-
Michael Prokop authored
Debian/buster is version "10.0".
-
Michael Prokop authored
-
- Jun 14, 2019
-
-
Michael Prokop authored
-
- Jun 13, 2019
-
-
Michael Prokop authored
When grml-debootstrap is invoked with `--debopt --variant=minbase`, our handling of /etc/network/interfaces fails, as the directory /etc/network/ doesn't necessarily exist yet in the essential/minbase variants (unless you explicitly install ifupdown/netbase). Closes: #930468
-
- May 31, 2019
-
-
Michael Prokop authored
E.g. virtio drivers might have the properties ID_NET_NAME_PATH=enp0s18 and ID_NET_NAME_SLOT=ens18. If we check only for ID_NET_NAME_PATH, then we end up with a network configuration for enp0s18, while the actual network interface name will be ens18. So instead look at all present network devices, iterate over them (ignoring the virtual interfaces like bridges + vboxnet) and check for present ID_NET_NAME_* settings, using the following precedence (as defined in link_config_apply() of systemd/src/udev/net/link-config.c): * ID_NET_NAME_FROM_DATABASE * ID_NET_NAME_ONBOARD * ID_NET_NAME_SLOT * ID_NET_NAME_PATH * ID_NET_NAME_MAC Closes: #929810
-
- Mar 02, 2019
-
-
Michael Prokop authored
-
Michael Prokop authored
-
Michael Prokop authored
If a user requested the --sshcopyid option then it's supposed to be run successfully, otherwise it might leave an inaccessible system, so exit with error if execution of `ssh-add -L` fails. While at it: * simplify code (no need for $RC) * don't fail if directory /root/.ssh exists already * append keys to possibly existing /root/.ssh/authorized_keys file, instead of overwriting it
-
Michael Prokop authored
-
Michael Prokop authored
-
Darshaka Pathirana authored
Use locally available public keys to authorise root login on the target system. Similar to ssh-copy-id(1) (without the -i option) it checks if `ssh-add -L` provides any output, and if so those keys are appended to `/root/.ssh/authorized_keys`. Closes: grml/grml-debootstrap#128
-
Darshaka Pathirana authored
Predictable Network Interface Names were missing the default /etc/network/interfaces file when using the --defaultinterfaces option. Added a Networking-Section in the man page to clarify how the network is configured in the target system and fixed the documentation for the options --vmfile and --vm. Both options automatically enable the --defaultinterface option and not the --nointerfaces option. Closes: grml/grml-debootstrap#126
-
- Jan 25, 2019
-
-
Michael Prokop authored
Closes: https://github.com/grml/grml-debootstrap/pull/122 Thanks: Patrick Schleizer
-
- Jan 24, 2019
-
-
Michael Prokop authored
-
Michael Prokop authored
There's no reason to say "use /dev/sda1 as system partition" all the time, when we already mention that we "Install Debian on /dev/sda1". Provide usage examples for mmdebstrap and LVM devices. The --iso option also accepts mountpoint without any file: syntax, which is more human-friendly.
-
Michael Prokop authored
Spotted by lintian (see tag override_dh_auto_test-does-not-check-DEB_BUILD_OPTIONS)
-
Michael Prokop authored
The --mntpoint option is quite unimportant, whereas --grub, --password and --bootappend all require an argument. Instead the --hostname is quite important. Adjust accordingly. Add related debian/post* scripts for proper dpkg-maintscript-helper rm_conffile support.
-
Michael Prokop authored
Since Zsh version v4.3.12-1 in Debian completions should go to /usr/share/zsh/vendor-completions and are supported there out-of-the-box.
-