Solaris Templating on VMware


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Templating on VMware
# 1  
Old 04-25-2018
Sun Solaris Templating on VMware

Hi,

I have an interesting automation problem I'm working on, wondering if anyone has $0.02? I work in a locked down environment, and don't have access to AI Servers and such.
I need to create a VMware Template with Solaris 11 using Packer - on the face of it, straight forward. However;

1. I cannot pass arguments to 'boot_command' on the ISO via the Packer provisioner,
2. I cannot re-master the ISO with a Grub boot options, or include the AI manifest.

Naturally, this is a real pain, but here is my thought;

Create a floppy image copying /boot from the ISO, create custom Grub options, and include the AI Manifest on the floppy image.

Does that sound like a reasonable plan before I invest way too much time back?

Cheers all,
# 2  
Old 04-25-2018
If you can get close enough to the hardware to put a floppy in it how about using a USB stick? If the hardware will boot from a USB stick then you could build one from the CD ISO?

Or have I got the wrong idea?
# 3  
Old 04-25-2018
Take a look at this approach :
Creating Solaris 11 Vagrant boxes out of Unified Archives | @mzachh's Weblog

It is using unified archive (UAR) with packer.
I would like to point that that i haven't used packer.

Be sure to get back with results Smilie

Regards
Peasant.
# 4  
Old 04-25-2018
Thanks @hicksd8, but alas this is all virtualised.

How Packer works; in a nutshell, it will create a temporary VM, attach the connect extra media like a floppy or cd-drive (these are all virtual devices), and then boot from CD and install. Once its done, VMWare takes a snapshot, converts a template, and destroys the VM.

To be honest, whether or not its Virtual is probably academic because the problem is the same; I can't modify the ISO, so I need to boot from floppy, with a custom AI Manifest, then continue installing via the mounted ISO.

---------- Post updated at 12:29 PM ---------- Previous update was at 12:26 PM ----------

Thanks @Peasant - I will take a look.
This could be a good starting point. I'll be sure to report back with how it gets done.

Thanks, Smilie
# 5  
Old 04-25-2018
I understand that but what I was meaning is that you could take the CD boot media and convert the whole distribution media to USB stick using Rufus after which you could edit the boot media file by file. That way you can configure Grub and create entire bespoke boot media. The only question is could you use that media to boot from?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 installed in vmware

I had no idea where I should post before i posting this . I have googled many many articles about how I share my host win 7 file into my vmware 9 solaris 10 system but what the solutions I found are all not work for me. for example VMware Communities: file sharing - Windows XP guest -...... (3 Replies)
Discussion started by: SSUUser
3 Replies

2. Solaris

Solaris on vmware rebooting itself

Hello Admins, I am facing an issue with Solaris system running/rebooting on vmware. It has VCS installed and configured. It is a 2nd node out of 3-node cluster. After long time I opened these 3 nodes to run. Rest 2 nodes are running OK. This 1 node is starting and rebooting itself. Attached... (4 Replies)
Discussion started by: snchaudhari2
4 Replies

3. Solaris

Solaris 9 on vmware wstation

l am trying to install solaris 9 on vmware workstation using iso dvd image. (downloaded). When the installation starts , it says "Network boot from AMD ....... client Mac addr:00 0C.... PXE-MOF: exiting intel PXE ROM.. Operating system not found.. I have vista on my laptop & iso image of... (10 Replies)
Discussion started by: snchaudhari2
10 Replies

4. Solaris

Solaris in vmware rebooting

Hello All, Solaris 10 which installed in Vmware workstation rebooting automatically and throwing the following error. Looks kernel thread issue, Need experts advice. Error: Warning: rpcmod:svc_default_stksize is set more than once in /etc/system/. "set rpcmod:svc_default_stksize =... (7 Replies)
Discussion started by: gowthamakanthan
7 Replies

5. Solaris

vmware on solaris 10

pls can someone direct me on the vmware product that i can install on solaris 10 (4 Replies)
Discussion started by: seyiisq
4 Replies

6. Solaris

vmware solaris oracle!!!!!!!

I heard that there is composed vmware, which has already installed solaris and oracle. Is there anybody know where to download it. Thx very much. I have searched it on google for really a long time and totally stopped here. Thx very much. (1 Reply)
Discussion started by: summer_cherry
1 Replies

7. Solaris

Solaris And VMware

hello all I have prob with solaris 10 and vmware 5.5, 6.0 that befor it's good work and from yesterday when I try to add new vm in SCSI Controller from vmware it's Don't see any Hard Disk or controller when I used solaris 5 cd-cdrom and DVD version but when try to make vm with IDE controller... (0 Replies)
Discussion started by: Hosam
0 Replies

8. UNIX for Advanced & Expert Users

Solaris installation using VMware

Hi All I have installed solaris 10 using VMware on my personal computer where the host operating system is Windows XP. After the installation i can see only one disk (c0t0) . ie the disk containing the boot partition . Is there any option that vmware installation gives me wherein i can... (1 Reply)
Discussion started by: ss250041
1 Replies

9. Solaris

Problem with USB - solaris 10 on VMware

I am running solaris 10 on VMware and I do not know how to setup the USB drive. After refer to few doc from sun still unable to get what i should do. Can someone help? On VMware I have added a USB controller. Oh yes, from prtconf and dmesg, it don't seem to reganize the usb controller. I... (0 Replies)
Discussion started by: ezsurf
0 Replies

10. UNIX for Dummies Questions & Answers

Problem installing Solaris 8 on VMware 2.0.3

Hi folks! i've just downloaded the three SOlaris 8 Free install-CDs, then went to install it in a VM on VMware 2.0.3, okay DCA and CD inserted, DCA configured all devices - THEN at the selection of the boot device - selected CD - getting DISK READ ERROR at sector 120. Can anyone help?!!!... (1 Reply)
Discussion started by: __kernelpanic
1 Replies
Login or Register to Ask a Question