Skip to content
Snippets Groups Projects
Commit 31cb5ad1 authored by Bakai Dániel's avatar Bakai Dániel
Browse files

Console keymap support

parent 95c83c35
Branches master
No related tags found
No related merge requests found
...@@ -75,6 +75,14 @@ do ...@@ -75,6 +75,14 @@ do
done done
# /etc/rc.local
cat > $DEBIAN_BASEDIR/etc/rc.local << EOF
#!/bin/sh -e
loadkeys $CONSOLE_KEYMAP
exit 0
EOF
#### USER-DEFINED PART 1 BEGIN #### #### USER-DEFINED PART 1 BEGIN ####
#### USER-DEFINED PART 1 END #### #### USER-DEFINED PART 1 END ####
...@@ -96,8 +104,10 @@ echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferen ...@@ -96,8 +104,10 @@ echo -e 'Package: systemd\nPin: origin ""\nPin-Priority: -1' > /etc/apt/preferen
echo -e '\n\nPackage: *systemd*\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd echo -e '\n\nPackage: *systemd*\nPin: origin ""\nPin-Priority: -1' >> /etc/apt/preferences.d/systemd
# Installing necessary packages # Installing necessary packages
export DEBIAN_FRONTEND=noninteractive
apt-get -y install screen mc htop vim openssh-server openssh-client unzip wget sudo apt-get -y install screen mc htop vim openssh-server openssh-client unzip wget sudo
apt-get -y install linux-image-3.16.0-4-amd64 linux-headers-3.16.0-4-amd64 grub apt-get -y install linux-image-3.16.0-4-amd64 linux-headers-3.16.0-4-amd64 grub
apt-get -y install console-data
apt-get -y install open-vm-tools apt-get -y install open-vm-tools
# Adding user # Adding user
......
...@@ -43,6 +43,7 @@ DEBIAN_BASEDIR="chroot" ...@@ -43,6 +43,7 @@ DEBIAN_BASEDIR="chroot"
INTERFACES="eth0" INTERFACES="eth0"
USERNAME="student" USERNAME="student"
PUBLIC_KEY_FILE="../resources/id_rsa.pub" PUBLIC_KEY_FILE="../resources/id_rsa.pub"
CONSOLE_KEYMAP=hu
# debian_vm_perhost # debian_vm_perhost
NUM_HOST=16 NUM_HOST=16
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment