-
Notifications
You must be signed in to change notification settings - Fork 242
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shared.cfg.guest-os: Add RHEL.8 variant config files #1942
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
- 8: | ||
variants: | ||
- aarch64: | ||
vm_arch_name = aarch64 | ||
- ppc64le: | ||
vm_arch_name = ppc64le | ||
- s390x: | ||
vm_arch_name = s390x | ||
- x86_64: | ||
vm_arch_name = x86_64 | ||
os_variant = rhel8 | ||
unattended_install.url: | ||
#Running from http server, RHEL requires more memory | ||
mem = 2048 | ||
nic_hotplug: | ||
modprobe_module = | ||
block_hotplug: | ||
modprobe_module = | ||
no unattended_install..floppy_ks | ||
unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: | ||
cdrom_unattended = images/${os_variant}-${vm_arch_name}/ks.iso | ||
syslog_server_proto = udp | ||
unattended_install, svirt_install: | ||
kernel = images/${os_variant}-${vm_arch_name}/vmlinuz | ||
initrd = images/${os_variant}-${vm_arch_name}/initrd.img | ||
# ARCH dependent things | ||
aarch64: | ||
grub_file = /boot/grub/grub.conf | ||
install_timeout = 7200 | ||
ppc64le: | ||
no guest_s3, guest_s4 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would be good to double-check whether suspend/hibernate is supported in RHEL.8 (it was not in RHEL.7, which is the reason for those...) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I can suspend/hibernate VM according to https://www.linux-kvm.org/page/PowerManagement. I tested this, but I was not able to wake up VM afterwards (maybe to send some key is not enough - do not know). There is also possibility to suspend and resume VM using There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The virsh suspend should be a different feature. Anyway see the email from David, it is not supported so please keep it here until someone asks it to enable this. |
||
mem_chk_cmd = numactl --hardware | awk -F: '/size/ {print $2}' | ||
netdev_peer_re = "(.*?): .*?\\\s(.*?):" | ||
s390x: | ||
grub_file = /boot/grub/grub.conf | ||
install_timeout = 7200 | ||
kernel = images/${os_variant}-${vm_arch_name}/kernel.img | ||
unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: | ||
# Anaconda hardcodes headless installation of RHEL.7 on s390x | ||
vga = none | ||
inactivity_watcher = none | ||
take_regular_screendumps = no | ||
x86_64: | ||
grub_file = /boot/grub2/grub.cfg |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
- devel: | ||
# Uses defaults set in 8.cfg | ||
# Adding x.y versions should only require changing the kickstart | ||
# and adding per-arch image shas. | ||
image_name = images/${os_variant}devel-${vm_arch_name} | ||
unattended_install.cdrom: | ||
cdrom_cd1 = isos/linux/RHEL-8-devel-${vm_arch_name}.iso | ||
unattended_install, check_block_size.4096_512, check_block_size.512_512, svirt_install: | ||
unattended_file = unattended/RHEL-8-devel.ks | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would you add There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hi @yanan-fu, There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, good point, I forgot about the kickstart file. Would you please add it with commented There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For aarch64, no this file, but
/boot/efi/EFI/redhat/grub.cfg
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yanan-fu are you sure? Is there any documentation about it? There is the same path for
aarch64
in case ofRHEL.7.devel
avocado-vt/shared/cfg/guest-os/Linux/RHEL/7.devel/aarch64.cfg
Line 2 in 339cfd2
So this line needs correction as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, i checked with a latest rhel8 host for arm:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rdkdd For aarch64 vm, result is same with above.
From this document: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8-beta/html-single/8.0_beta_release_notes/index#infrastructure_services_3
it use
/etc/grub2.cfg
, and it is a soft link:aarch64:
x86:
For
RHEL.7.devel
, i am not very sure what it used for since i never use it. What i know is RHEL-ALT, aarch64 use/boot/efi/EFI/redhat/grub.cfg
too. @ldoktor do you know it ?