diff options
author | Kyle K <kylek389@gmail.com> | 2017-01-12 15:39:18 -0600 |
---|---|---|
committer | Kyle K <kylek389@gmail.com> | 2017-01-12 15:39:18 -0600 |
commit | 3bf36bcb637163d15983842cdd5bb74d77c7d4ff (patch) | |
tree | df5d1826a3bd95f6caf3683488f723cce49ff97c /xenserver | |
parent | f7caa28a6d912e53057d2e341377458017ae9f39 (diff) | |
download | configs-3bf36bcb637163d15983842cdd5bb74d77c7d4ff.tar.gz configs-3bf36bcb637163d15983842cdd5bb74d77c7d4ff.tar.bz2 configs-3bf36bcb637163d15983842cdd5bb74d77c7d4ff.zip |
xenserver configs
Diffstat (limited to 'xenserver')
-rw-r--r-- | xenserver/etc/rc.local | 25 | ||||
-rw-r--r-- | xenserver/grub.cfg | 6 |
2 files changed, 31 insertions, 0 deletions
diff --git a/xenserver/etc/rc.local b/xenserver/etc/rc.local new file mode 100644 index 0000000..3d81ad7 --- /dev/null +++ b/xenserver/etc/rc.local @@ -0,0 +1,25 @@ +#!/bin/bash +# THIS FILE IS ADDED FOR COMPATIBILITY PURPOSES +# +# It is highly advisable to create own systemd services or udev rules +# to run scripts during boot instead of using this file. +# +# In contrast to previous versions due to parallel execution during boot +# this script will NOT be run after all other services. +# +# Please note that you must run 'chmod +x /etc/rc.d/rc.local' to ensure +# that this script will be executed during boot. + +exec 2> /tmp/rc.local.log # send stderr from rc.local to a log file +exec 1>&2 # send stdout to the same log file +echo "rc.local started" # show start of execution +set -x # tell sh to display commands before execution + +touch /var/lock/subsys/local +vgchange -a y +mount /dev/VG_XenStorage-e73cd6ed-51b6-e311-5358-8602f04afc66/ISO /mnt/iso + +echo "rc.local completed" + +# don't forget +# chmod +x /etc/rc.d/rc.local diff --git a/xenserver/grub.cfg b/xenserver/grub.cfg new file mode 100644 index 0000000..0cf04a0 --- /dev/null +++ b/xenserver/grub.cfg @@ -0,0 +1,6 @@ +menuentry 'XenServer' { + search --label --set root root-mvkkxi + multiboot2 /boot/xen.gz dom0_mem=752M,max:752M watchdog ucode=scan dom0_max_vcpus=4 crashkernel=128M@256M vga=mode-0x0311 iommu=1 + module2 /boot/vmlinuz-3.10-xen root=LABEL=root-mvkkxi ro hpet=disable xencons=hvc console=hvc0 quiet vga=785 splash plymouth.ignore-serial-consoles xen-pciback.hide=(0000:0d:00.0) xen-pciback.hide=(0000:09:00.0) xen-pciback.hide=(0000:0a:00.0) + module2 /boot/initrd-3.10-xen.img +} |