Hi I now have got the fedora Server example to work in text mode, but don't know how to add the GUI manually. Apparently installing a desktop environment with dnf only puts the packages there.
Your Redhat example is also only using the server image to build with so they don't really get me further :( The missing step is the GUI. I can't seem to launch the automated installer on the fedora workstation, which is why I am looking to add gui to server. Question if there is a good guide for this? I hope I am not the first one to try something like this Best Regards Henrik 2016-10-25 9:26 GMT+02:00 Alvaro Miranda Aguilera <[email protected]>: > Hi > > I will suggest take a more simple aproach and move in slow steps. > > 1. You haven't said which version of RedHat. > > If RedHat 7, heres in an example: > https://github.com/kikitux/packer-vagrant-oracle/tree/ > master/packer/redhat7 > > Focus on getting a RH7 that installl from the iso and thats all. > > Then add steps: > > - Install from ISO > > - Update > > - Install VBoxTools > - Install Asible > > - run a HelloWorld with Ansible Local > > - Add Vagrant post processor > > - Test a Vagrant up vs this new box. > > > and then iterate on Ansible. > > I do have RH Licenses/support agreements/etc, so if you put on GitHub what > you are doing, I am happy to have a look and help you there. > > Alvaro. > > On Tue, Oct 25, 2016 at 1:24 AM, Henrik Lynggaard Hansen <[email protected]> > wrote: > >> Hi >> >> I am trying to use packer for building a Fedora 24 Desktop Vagrant box, >> but I am running into issues >> >> Context: In our setup we have a lot of windows users which needs a Linux >> VM for development environment. By development environment I mean >> GUI/Desktop and installed IDEs etc. I am trying to use Ansible to provision >> the IDEs etc which should be relatively easy once I have a base box ideally >> with GUI. However we don't want users to run around installing Ansible on >> their windows machines, instead we want to use the ansible-local >> provisioner. However here we run into the step that we need to build our >> own base image, since I haven't been able to find a good (official) image >> that >> a) is close to RHEL including using yum >> B) has a GUI >> c) has ansible installed >> >> I have tried to use the Bento Boxes for fedora as an example, but when I >> change the iso used from Server to Workstation I get into problems. The >> packer script is hanging at the "waiting for SSH". Looking at the GUI in >> virtualbox I can see it correctly boot up, and enter the KS script >> location. After that the boot process starts with all the normal term >> lines, but once the "Gui" opens all I get is a blank (black) screen with a >> mouse pointer. >> >> I have also tried to update the ks script from the bento default to one >> that I got from manually installing a Fedora 24 but no help there just same >> error. >> >> Am I doing something simple wrong or am I going down a completely wrong >> path? >> >> Would it be better to use the server image as bento does it and just add >> the ansible package, and possibly cinnamon-desktop? >> >> Best regards >> Henrik >> >> >> -- >> This mailing list is governed under the HashiCorp Community Guidelines - >> https://www.hashicorp.com/community-guidelines.html. Behavior in >> violation of those guidelines may result in your removal from this mailing >> list. >> >> GitHub Issues: https://github.com/mitchellh/packer/issues >> IRC: #packer-tool on Freenode >> --- >> You received this message because you are subscribed to the Google Groups >> "Packer" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/packer-tool/ae7b94c7-b5b3-427d-994e-959c5d9749f0%40googlegroups.com >> <https://groups.google.com/d/msgid/packer-tool/ae7b94c7-b5b3-427d-994e-959c5d9749f0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Alvaro > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to a topic in the > Google Groups "Packer" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/packer-tool/fjB-nKSiWTQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/CAHqq0ezXa%2B4GTH07mkAkcteb0LGj0M% > 3D5AwAk9t_NmG4J8T7u%3DQ%40mail.gmail.com > <https://groups.google.com/d/msgid/packer-tool/CAHqq0ezXa%2B4GTH07mkAkcteb0LGj0M%3D5AwAk9t_NmG4J8T7u%3DQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALPiMPXU_92BoaBC8L7ZG6DBQiuTpfJ5ejLvQtEdy1AjxCEz%3DA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
