Ruby missing in Vagrant MIQ

I’ve installed the Vagrantfile from scratch. Once installed:

vagrant ssh shows the usual link but

vagrant@localhost ~]$ appliance_console
/usr/bin/env: ruby: No such file or directory

To fix it:

[vagrant@localhost ~]$ sudo yum update -y
[vagrant@localhost ~]$ sudo yum install rh-ruby22-ruby -y
[vagrant@localhost ~]$ sudo reboot

That would me things work, but a sudo appliance_console won’t work

[vagrant@localhost ~]$ sudo -i
[vagrant@localhost ~]# appliance_console

@simaishi can you review what Sergio is describing.

I think the alias set in the kickstart partial for vagrant here:

alias appliance_console='sudo appliance_console'

should really be:

alias appliance_console='sudo -i appliance_console'

I’ll open a PR but you should be able to run sudo -i appliance_console with the existing vagrant image.