Code Monkey home page Code Monkey logo

solaris-packer's People

Contributors

bigal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

solaris-packer's Issues

Building solaris 11-2 - not working so far

I'm doing a virtualbox build of the 11-2 packer.

A cursory glance suggests that it's not even selecting the language properly, the:

27<enter>

doesn't result in US-English being selected.

Solaris 11.1 Vurtial Box creationg failed - virtualbox-iso: Error waiting for SSH: ssh: handshake failed

Hi Al,

I was pretty much using the files you supplied with minor changes. When I tried to run packer build command - it gave the error below.
It would not authenticate and get authorized keys from my GitHub repository nor if I established them on my local workstation.

$ Packer_0.7.5/packer.exe build -only=virtualbox-iso /c/HashiCorp/Vagrant/Sol11.1_proj/solaris-packer/solaris11.j son

virtualbox-iso output will be in this color.
==> virtualbox-iso: Downloading or copying Guest additions
virtualbox-iso: Downloading or copying: file:///C:/Program%20Files/Oracle/VirtualBox/VBoxGuestAdditions.iso
==> virtualbox-iso: Downloading or copying ISO
virtualbox-iso: Downloading or copying: file:///C:/HashiCorp/Vagrant/Sol11.1_proj/sol-11_1-live-x86.iso
==> virtualbox-iso: Creating virtual machine...
==> virtualbox-iso: Creating hard drive...
==> virtualbox-iso: Creating forwarded port mapping for SSH (host port 4331)
==> virtualbox-iso: Executing custom VBoxManage commands...
virtualbox-iso: Executing: modifyvm packer-solaris-11 --memory 1024
virtualbox-iso: Executing: modifyvm packer-solaris-11 --cpus 1
==> virtualbox-iso: Starting the virtual machine...
==> virtualbox-iso: Waiting 1m35s for boot...
==> virtualbox-iso: Typing the boot command...
==> virtualbox-iso: Waiting for SSH to become available...
==> virtualbox-iso: Error waiting for SSH: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password keyboard-interactive], no supported methods remain
==> virtualbox-iso: Unregistering and deleting virtual machine...
==> virtualbox-iso: Deleting output directory...
Build 'virtualbox-iso' errored: Build was halted.
==> Some builds didn't complete successfully and had errors:
--> virtualbox-iso: Build was halted.
==> Builds finished but no artifacts were created.

Here is my postinstall.sh file:

!/bin/sh

setup the vagrant key

you can replace this key-pair with your own generated ssh key-pair

echo "Setting the vagrant ssh pub key"
mkdir /export/home/vagrant/.ssh
chmod 700 /export/home/vagrant/.ssh
touch /export/home/vagrant/.ssh/authorized_keys
scp -pr 10.239.15.13:/export/home/sxp49/.ssh/vagrant.pub /export/home/vagrant/.ssh/authorized_keys
chmod 600 /export/home/vagrant/.ssh/authorized_keys
chown -R vagrant:staff /export/home/vagrant/.ssh
echo "Post-install done"

Using automated installer?

Have you considered using an AI server, manifest and AI image to perform this? I think that would reduce the amount of statements in the boot command.

Thanks

Solaris 11.3 - support

Hi

It looks like there's a small variance in the boot commands for Solaris 11.3, it gets most of the way, but doesn't manage to create the ssh connection at the end. I was wondering if anyone has already got this working on 11.3 and could share their modifications?

Thanks,

Mike

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.