mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-14 21:38:26 +02:00
contrib/nm-live-vm: disable rate limiting in the journal of the VM
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
0689efc768
commit
0178d73699
1 changed files with 7 additions and 1 deletions
|
|
@ -51,11 +51,17 @@ EOF
|
|||
/bin/systemctl enable NetworkManager.service || exit 1
|
||||
/bin/systemctl enable sshd.service || exit 1
|
||||
|
||||
# allow login for root via SSH, without password!!
|
||||
sed -e 's/^#\?\(PermitRootLogin *\).*/\1yes/' \
|
||||
-e 's/^#\?\(PermitEmptyPasswords *\).*/\1yes/' \
|
||||
-i /etc/ssh/sshd_config
|
||||
|
||||
# disable rate limiting of the journal
|
||||
sed -e 's/^#\?\(RateLimitInterval *= *\).*/\10/' \
|
||||
-e 's/^#\?\(RateLimitBurst *= *\).*/\10/' \
|
||||
-i /etc/systemd/journald.conf
|
||||
|
||||
mkdir /mnt/sda1
|
||||
echo "/dev/sda1 /mnt/sda1 vfat defaults 1 2" >> /etc/fstab
|
||||
echo "/dev/sda1 /mnt/sda1 vfat defaults 0 0" >> /etc/fstab
|
||||
|
||||
git gc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue