From owner-freebsd-virtualization@freebsd.org Sat Jan 23 23:35:07 2021 Return-Path: Delivered-To: freebsd-virtualization@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7CFE84E2512 for ; Sat, 23 Jan 2021 23:35:07 +0000 (UTC) (envelope-from nzmjx@protonmail.com) Received: from mail-40136.protonmail.ch (mail-40136.protonmail.ch [185.70.40.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "protonmail.com", Issuer "SwissSign Server Gold CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DNXY62Spcz3N5d for ; Sat, 23 Jan 2021 23:35:05 +0000 (UTC) (envelope-from nzmjx@protonmail.com) Date: Sat, 23 Jan 2021 23:34:59 +0000 To: John Kennedy , freebsd-virtualization@freebsd.org From: Nazim Can Bedir Reply-To: Nazim Can Bedir Subject: Re: RHEL virtualization Message-ID: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_REPLYTO shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch X-Rspamd-Queue-Id: 4DNXY62Spcz3N5d X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; HAS_REPLYTO(0.00)[nzmjx@protonmail.com]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[protonmail.com]; R_SPF_ALLOW(-0.20)[+ip4:185.70.40.0/24]; DKIM_TRACE(0.00)[protonmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[protonmail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[protonmail.com]; ASN(0.00)[asn:62371, ipnet:185.70.40.0/24, country:CH]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[protonmail.com:s=protonmail]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[protonmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[185.70.40.136:from]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.70.40.136:from]; MAILMAN_DEST(0.00)[freebsd-virtualization] X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2021 23:35:07 -0000 Hello, I can't talk about RHEL but by using vm-bhyve and customized=20 configuration (based on=20 https://github.com/churchers/vm-bhyve/blob/master/sample-templates/centos7.= conf),=20 I have managed to successfully install Ubuntu 20.04 in bhyve last week.=20 In general, both booting and installation were smooth and installed=20 system is completely usable. Maybe I would like to try RHEL with centos7.conf? Regards, Nazim Can. On 24/01/2021 02:14, John Kennedy wrote: > At work, we have RHEL (-ish; some RHEL, some CentOS, some OEL). Mostly v= 7, > some v8. Since I'm doing the Covid work-from-home telecommute, I'm tryin= g to > recreate some of my work infrastructure while trying to plan a bit toward= s > the future (migrating a lot of VMs to Azure). > > What I'd like to recreate is my existing kickstart infrastructure, where = I > PXE boot the system, feed it anaconda goodness which dovetails into puppe= t > and I can generate a clean system from a template. Works great for VMWar= e > and HyperV, not so much for Azure but if I can generate a snapshot disk > image Azure can ingest, I'll be happy on that score. > > I've been very happy with bhyve for FreeBSD. I messed with VirtualBox fo= r > a while (a long time ago), but with my tendency to track stable (think: > kernel modules) and keep very current on ports-from-source (frequent > package updates, upon which VirtualBox has MANY dependencies) made that a > poorer experience than I had with it on Windows. I've been very happy wi= th > bhyve since it's basically baked right in. > > > That being said, RHEL on bhyve has been a pain to figure out. The best I= 've > done so far is using sysutils/grub2-bhyve to set up the boot CD, using > BHYVE_UEFI.fd as UEFI firmware (sysutils/bhyve-firmware I think) and then > getting at the console via net/tigervnc-viewer. > > Currently I'm fighting grub-bhyve's issue finding the kernel to load (if = I'm > finding the right problem reports, it doesn't seem to like modern XFS or > ext4 partitions). I couldn't get net/ipxe to PXE boot anything, and I di= n't > manage to get very far with sysutils/uefi-edk2-bhyve. And of course some > of these are flagged with python2.7 isses. > > I'm not a fan of grub-bhyve, but that's mostly because you have to specif= y > the full kernel-with-version path (changes every kernel update), but I > figure I could make an expect-script that would figure it out if I could > find a /boot filesystem type that grub-bhyve could "ls" properly. > > > Ignoring my own setup details right now, what would someone currently > bhyving RHEL recommend that I be doing right now? > > There is so much old information/documentation out there that I'm really > second-guessing myself and probably chasing a bunch of dying ports. But > someone on here must be happy with what they've got going for them. > > _______________________________________________ > freebsd-virtualization@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-virtualization > To unsubscribe, send any mail to "freebsd-virtualization-unsubscribe@free= bsd.org"