diff options
author | Isaac David <isacdaavid@isacdaavid.info> | 2017-07-10 17:16:02 -0500 |
---|---|---|
committer | Isaac David <isacdaavid@isacdaavid.info> | 2017-07-11 20:03:16 -0500 |
commit | 50633f2d519fef68201f9d2d8f2fcfff70ff7db1 (patch) | |
tree | 5bb192964c75b5706bc2b1278575360de44e6fac /pcr/xen/xen.install | |
parent | 0fd886ddec8d6e3109a971ea3049b984a5524ec9 (diff) | |
download | abslibre-50633f2d519fef68201f9d2d8f2fcfff70ff7db1.tar.gz abslibre-50633f2d519fef68201f9d2d8f2fcfff70ff7db1.tar.bz2 abslibre-50633f2d519fef68201f9d2d8f2fcfff70ff7db1.zip |
move xen to [pcr]
dropped in Arch:
https://lists.archlinux.org/pipermail/arch-dev-public/2017-July/028937.html
Diffstat (limited to 'pcr/xen/xen.install')
-rw-r--r-- | pcr/xen/xen.install | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/pcr/xen/xen.install b/pcr/xen/xen.install new file mode 100644 index 000000000..f48de62f8 --- /dev/null +++ b/pcr/xen/xen.install @@ -0,0 +1,75 @@ +install_msg() { + cat << __EOF__ +===> IMPORTANT NOTICES: + +In order to complete the installation, and enable Xen, +at the very least you must: +1. If using GRUB2, edit your GRUB2 config files as specified at + https://wiki.parabola.nu/index.php/Xen#Bootloader_Configuration + + Support for the grub-mkconfig command was added, and will auto-discover + the deployed xen hypervisor and linux kernel +2. If booting via efi, copy the example /etc/xen/efi-xen.cfg to /boot/xen.cfg + and edit the contents to match the settings you need. +3. Issue the following commands to allow you to create and start VMs: + + systemctl enable xen-qemu-dom0-disk-backend.service + systemctl enable xen-init-dom0.service + systemctl enable xenconsoled.service + + Other optional services are: + systemctl enable xen-watchdog.service + +4. If you want some domains to automatically start up/shutdown, run the following: + systemctl enable xendomains.service + +For more information refer to the Wiki: + https://wiki.parabola.nu/index.php/Xen + +__EOF__ + +} + +upgrade_msg() { + cat << __EOF__ +Xen 4.7 +Release notes +http://wiki.xen.org/wiki/Xen_Project_4.7_Release_Notes +Feature list +http://wiki.xen.org/wiki/Xen_Project_4.7_Feature_List +__EOF__ + +} + +post_install() { + install_msg + upgrade_msg +} + +post_upgrade() { + upgrade_msg +} + +pre_remove() { + systemctl stop xendomains.service + systemctl stop xen-watchdog.service + systemctl stop xenconsoled.service + systemctl stop xen-init-dom0.service + systemctl stop xen-qemu-dom0-disk-backend.service + + systemctl disable xendomains.service + systemctl disable xen-watchdog.service + systemctl disable xenconsoled.service + systemctl disable xen-init-dom0.service + systemctl disable xen-qemu-dom0-disk-backend.service +} + +post_remove() { + cat << __EOF__ +===> IMPORTANT NOTICE: + +In order to finish removing Xen, you will need to modify +your bootloader configuration files to load your Linux-libre +kernel instead of Xen kernel. +__EOF__ +} |