Re: [CentOS] Virtualizing on CentOS 8

2019-11-19 Thread Jonathan Billings
On Nov 18, 2019, at 17:05, Jerry Geis  wrote:
> 
> I am trying to get going with CentOS 8.
> 
> In the past I would run qemu-system-x86_64 -hda myfile.img
> get a console and off we go.
> 
> I dont with to use virt-manager and the gui and all - I just wish to have a
> similar
> command line to boot up and run my img.
> Is there something like that I'm not finding ?
> 
> I have found virsh - but I dont see how to make it run with an image file
> from the command line. Perhaps I'm missing something.

I would suggest virt-install with the —import optionif you want a console to 
pop up. 

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/virtualization_deployment_and_administration_guide/sect-guest_virtual_machine_installation_overview-creating_guests_with_virt_install

--
Jonathan Billings
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm

2019-11-19 Thread Jerry Geis
>You should really use cockpit (if you can't get virt-manager) if you
>want a GUI.

I was looking equivalent to what I had back on CentOS 7 with
qemu-system-x86_64. I just want a "quick" way

to run an image file, do some compiling or me and be done.

how do I get the qemu-kvm to pop up a console window or use the
current terminal that is open. with --no-graphic

I got a boot screen but nothing after that.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualizing on CentOS 8

2019-11-19 Thread Gianluca Cecchi
On Tue, Nov 19, 2019 at 2:23 PM Jerry Geis  wrote:

> So after much looking I found /usr/libexec/qemu-kvm.
> I got everything going except - how do I specify on the command line that I
> want a window console to pop up ?
> I want to see all the boot messages and then get a login prompt in a
> window.
> I'm sure I'm missing something easy.
> I tried the "-vga std" but that did not give me a console window.
>
>
>
The best way I think is:

- start guest in paused mode (the qemu-kvm process is instantiated and
console accessible)
virsh start vm_name --paused

-  attach to guest console (eg spice in my example below; if other guests
running, the port could be 5901, 5902 or another one)
remote-viewer spice://localhost:5900 &

- while keeping an eye to the console window resume the guest
virsh resume vm_name

HIH,
Gianluca
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] qemu-kvm

2019-11-19 Thread Nux!
You should really use cockpit (if you can't get virt-manager) if you 
want a GUI.


hth

---
Sent from the Delta quadrant using Borg technology!

On 2019-11-19 15:55, Jerry Geis wrote:

I am running this command
/usr/libexec/qemu-kvm -no-acpi -smp 4 -m 2048 -drive
file=myimg.img,format=raw -vga std -device rtl8139

and expecting a window to open up for the console. It does not. This is 
on

CentOS 8.
Do I have something missing/not installed - or something wrong on the
command line.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] qemu-kvm

2019-11-19 Thread Jerry Geis
I am running this command
/usr/libexec/qemu-kvm -no-acpi -smp 4 -m 2048 -drive
file=myimg.img,format=raw -vga std -device rtl8139

and expecting a window to open up for the console. It does not. This is on
CentOS 8.
Do I have something missing/not installed - or something wrong on the
command line.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtualizing on CentOS 8

2019-11-19 Thread Jerry Geis
So after much looking I found /usr/libexec/qemu-kvm.
I got everything going except - how do I specify on the command line that I
want a window console to pop up ?
I want to see all the boot messages and then get a login prompt in a window.
I'm sure I'm missing something easy.
I tried the "-vga std" but that did not give me a console window.

Jerry
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] can't login as subsequent FreeIPA users

2019-11-19 Thread Louis Lagendijk
On Mon, 2019-11-18 at 13:05 -0600, Carson Chittom wrote:
> When I set up a machine with CentOS 8, I used the "Enterprise Login"
> in
> the initial setup wizard to authenticate against my FreeIPA server.
> This worked fine, and I have no issues logging in with that initial
> user.
> 
> However, I am unable to use GDM or the console to login as any
> *other*
> valid user from FreeIPA. From GDM I get something like "Sorry, that
> didn't work" and "Permission denied" on the console.  I've verified
> that
> the credentials are correct, and that I am able to manually get a
> ticket
> via kinit for one of those other users from this machine.  With
> CentOS 7, I didn't have to do any additional configuration in this
> regard after the initial wizard.
> 
> Not sure whether this is a CentOS configuration issue or a FreeIPA
> one,
> but I figured I'd start here.  I'm also not terribly familiar with
> FreeIPA, so I could be missing something obvious; but this worked
> without issue when the machine in question ran CentOS 7.
> 
> Can somebody point me in the right direction?

This could be home directory related. Are the home directories local or
remote (NFS?). Are the home directories for the users accessible?

Can the users login over ssh?

___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos