Modifications : local/boot-configure - Passage à tillac
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 10 Nov 2016 14:04:52 +0000 (15:04 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Thu, 10 Nov 2016 14:10:50 +0000 (15:10 +0100)
etc/crypttab.m4
etc/gitolite
etc/inittab
local/boot-configure

index 984b716..1a3543b 100644 (file)
@@ -1,5 +1,5 @@
 # <target name> <source device> <key file> <options>
-LOCAL_LLOCAL_LV`'_root_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_root none                        luks,lvm=LOCAL_LLOCAL_VG
-LOCAL_LLOCAL_LV`'_var_deciphered  /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_var  LOCAL_LLOCAL_LV`'_root_deciphered luks,lvm=LOCAL_LLOCAL_VG,keyscript=/lib/cryptsetup/scripts/decrypt_derived
-LOCAL_LLOCAL_LV`'_home_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_home LOCAL_LLOCAL_LV`'_root_deciphered luks,lvm=LOCAL_LLOCAL_VG,keyscript=/lib/cryptsetup/scripts/decrypt_derived
-LOCAL_LLOCAL_LV`'_swap_deciphered /dev/LOCAL_LLOCAL_VG/LOCAL_LLOCAL_LV`'_swap LOCAL_LLOCAL_LV`'_root_deciphered luks,lvm=LOCAL_LLOCAL_VG,keyscript=/lib/cryptsetup/scripts/decrypt_derived
+ateliers_root_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_root none       luks,lvm=ateliers.heureux-cyclage.org
+ateliers_var_deciphered  /dev/ateliers.heureux-cyclage.org/ateliers_var  /.root.key luks,lvm=ateliers.heureux-cyclage.org
+ateliers_home_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_home /.root.key luks,lvm=ateliers.heureux-cyclage.org
+ateliers_swap_deciphered /dev/ateliers.heureux-cyclage.org/ateliers_swap /.root.key luks,lvm=ateliers.heureux-cyclage.org
index 118d6a4..e62661f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 118d6a4c5fa48e5150c868cf1f4c790dfdab6d53
+Subproject commit e62661fa0bd9148cffb59371f66769d6a550a6f8
index b0b7641..a17a694 100644 (file)
@@ -38,7 +38,8 @@ po::powerokwait:/etc/init.d/powerfail stop
 
 # Xen hypervisor console
 hvc:2345:respawn:/sbin/getty 38400 hvc0
-#xvc:2345:respawn:/sbin/getty 38400 xvc0
+# Ganeti console
+S0:12345:respawn:/sbin/agetty --keep-baud 115200,38400,9600 ttyS0 vt100
 
 #-- runit begin
 SV:123456:respawn:/usr/sbin/runsvdir-start
index d620787..1a7c1fe 100755 (executable)
@@ -14,9 +14,11 @@ sudo install -m 644 -o root -g root /dev/stdin \
        GRUB_TIMEOUT=5
        GRUB_DISTRIBUTOR=\`lsb_release -i -s 2> /dev/null || echo Debian\`
        GRUB_CMDLINE_LINUX_DEFAULT="quiet"
-       GRUB_CMDLINE_LINUX="vt.default_utf8=1 rootfstype=ext4 loglevel=5 console=hvc0 ip=$local_ipv4::$local_gateway:$local_netmask:$vm:eth0:off resume=/dev/mapper/${vm}_swap_deciphered"
+       GRUB_CMDLINE_LINUX="vt.default_utf8=1 rootfstype=ext4 loglevel=5 console=hvc0 console=ttyS0 ip=$local_ipv4::$local_gateway:$local_netmask:$vm:eth0:off resume=/dev/mapper/${vm}_swap_deciphered"
        GRUB_DISABLE_RECOVERY="true"
        #GRUB_PRELOAD_MODULES="lvm"
+       GRUB_TERMINAL="console serial"
+       GRUB_SERIAL_COMMAND="serial --unit=0 --speed=38400 --word=8 --parity=no --stop=1"
        EOF
 sudo install -m 644 -o root -g root /dev/stdin \
  /boot/grub/device.map <<-EOF