Editing Installation on Debian 9
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 25: | Line 25: | ||
Script=/etc/initramfs-tools/scripts/local-premount/tune | Script=/etc/initramfs-tools/scripts/local-premount/tune | ||
echo '#!/bin/sh' | sudo tee $Script | echo '#!/bin/sh' | sudo tee $Script | ||
− | echo 'if [ "$ | + | echo 'if [ "$readonly" != "y" ] ; then exit 0 ; fi' | sudo tee -a $Script |
echo e2fsck -f $Volume | sudo tee -a $Script | echo e2fsck -f $Volume | sudo tee -a $Script | ||
echo tune2fs -O -metadata_csum $Volume | sudo tee -a $Script | echo tune2fs -O -metadata_csum $Volume | sudo tee -a $Script | ||
Line 74: | Line 74: | ||
sudo reboot | sudo reboot | ||
sudo apt --auto-remove remove systemd | sudo apt --auto-remove remove systemd | ||
− | echo -e 'Package: *systemd*\nPin: release *\nPin-Priority: -1\n' | sudo tee /etc/apt/preferences.d/ | + | echo -e 'Package: *systemd*\nPin: release *\nPin-Priority: -1\n' | sudo tee /etc/apt/preferences.d/systemd |
* More recipes at [http://without-systemd.org/wiki/index.php/Debian_Stretch without-systemd.org] | * More recipes at [http://without-systemd.org/wiki/index.php/Debian_Stretch without-systemd.org] | ||
Line 142: | Line 142: | ||
sudo vztmpl-dl --gpg-check debian-8.0-x86_64-minimal | sudo vztmpl-dl --gpg-check debian-8.0-x86_64-minimal | ||
− | + | Alternatively, you can also download precreated template caches from [[Download/template/precreated|Download » Template » Precreated]], or from one of the [https://mirrors.openvz.org/ mirrors]. Put those tarballs '''as-is (no unpacking needed)''' to the <tt>/vz/template/cache/</tt> directory. | |
− | |||
− | |||
= Next steps = | = Next steps = |