bigal / solaris-packer Goto Github PK
View Code? Open in Web Editor NEWPacker files for Solaris Base Boxes
Packer files for Solaris Base Boxes
I can do this as a PR if you think it would be a valuable addition.
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.
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:
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"
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.