for number 2. yum install -y <package>
you can put the 2 lines into one with yum install -y <package1> <package2> for number 1, it doesnt say much. On Mon, Aug 22, 2016 at 8:15 PM, Balu Kompalli <[email protected]> wrote: > Hello *Team,* > > > *Query 1 :* > > Please suggest me how to solve this error while image creation of > CentOS7 using packer. I got this error. Is this a consider error or a > ignorable warning? > > And I installed openjdk1.8.0 using the follwing command. > > *--PFA* > > > *Query 2:* > > *packages.sh* > > su -c "yum install openjdk1.8.0" > su -c "yum install openjre1.8.0" > > It shows that jdk dependencies are installed. But when i tried to check > with javac and java in the CentOS command line javac command not found. > Java command not found errors are occurred. How to check whether java is > working are not. > Or I am assuming that javac and java will work after creation of image > at the time of deployment of image. Is this correct or not? > > > *Thank you.* > > > > > -- > 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/d1ea2719-f685-4e5d-8dd4-00d87158d304%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/d1ea2719-f685-4e5d-8dd4-00d87158d304%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Alvaro (+31)103400555 -- 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/CAHqq0eyExFeKXYq7f5J-CpaWEk4FjOMRmHB2Y7DmOuigRkMU0Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
