Comments (16)
@v-vlshch Anybody have any idea on what needs to be done to move this forward? I unfortunately have little time and no experience with Go :( but it would be awesome if we could get this code extended to work with different OSes.
from packer-hyperv.
Couldn't you just fork this repo and add the other Windows versions yourself?
from packer-hyperv.
If I had time then yes I could do that, but it would be nicer if all that code was in one spot and I was hoping that there was some momentum behind this plugin. On the other hand when I have time to play with this more I might be able to add the additional Windows versions etc.
from packer-hyperv.
@eduardkoller Are we going to move this forward?
from packer-hyperv.
@v-vlshch @eduardkoller yes, please tell, is this going to happen anytime soon? I can help with testing and perhaps even bug fixes.
from packer-hyperv.
Is there a way to build a linux image on hyper-v with this plugin?
from packer-hyperv.
Unfortunately, the plugin targets restricted by Windows Server 2012.
from packer-hyperv.
I have been working on a fork that supports an expanded OS selection. Linux is on backlog but I am currently focusing on supporting all supported version of Windows OS first.
In the other providers, like Virtual Box, they are able to send key strokes to the console to instruct the linux installer to use a install template. Is there another way to do this? I do not think we can send key strokes to the Hyper-V console of a VM.
from packer-hyperv.
What do you mean by "install template"
On Dec 12, 2014 5:37 PM, "Phil Bolduc" [email protected] wrote:
I have been working on a fork https://github.com/pbolduc/packer-hyperv
that supports an expanded OS selection. Linux is on backlog but I am
currently focusing on supporting all supported version of Windows OS first.In the other providers, like Virtual Box, they are able to send key
strokes to the console to instruct the linux installer to use a install
template. Is there another way to do this? I do not think we can send key
strokes to the Hyper-V console of a VM.—
Reply to this email directly or view it on GitHub
#10 (comment)
.
from packer-hyperv.
See 'Boot Command' in VIRTUALBOX BUILDER (FROM AN ISO)
The boot_command configuration is very important: it specifies the keys to type when the virtual machine is first booted in order to start the OS installer. This command is typed after boot_wait, which gives the virtual machine some time to actually load the ISO.
from packer-hyperv.
By install template, I think I meant a config file for the linux environment. However, I just read How do I create a completely unattended install of Ubuntu? and it appears you do not need to have to send any key strokes. I would assume something similar can be done for other linix distros, ie CentOS, etc
from packer-hyperv.
For Debian you use preseed to specify the options during install - https://wiki.debian.org/DebianInstaller/Preseed e.g. https://github.com/box-cutter/debian-vm/blob/master/http/preseed.cfg
Currently we use Packer to build virualbox/vmware/aws images using the following, but we do not have the ability to use packer for hyper-v as there is no plugin to support the build commands required -
"boot_command": [
"<esc><wait>",
"install",
" auto",
" url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg",
" debian-installer=en_US",
" locale=en_US",
" keymap=us",
" netcfg/get_hostname=vagrant",
" netcfg/get_domain=vm ",
"<enter>"
],
+1 for a hyper-v packer plugin that supports Debian/Ubuntu :)
from packer-hyperv.
+1 Very eagerly looking forward to linux support
from packer-hyperv.
+1 would love to have the hyperv builder so I can run my VM's on hyper-v and also be able to deploy them to azure.
from packer-hyperv.
Would also be awesome to have some documentation on the packer website on how to use the hyper-v stuff with packer. Could someone experienced with the hyper-v stuff add some docs on the packer website, this also might give a boost to people interesting to further develop the hyper-v support. Probably few people know of the existence of packer + hyper-v. A pull request here should make the docs appear on the packer website. https://github.com/mitchellh/packer/tree/master/website
from packer-hyperv.
See: hashicorp/packer#2576 for full support of other operating system with Hyper-V
from packer-hyperv.
Related Issues (20)
- Packer build fails with reference of external .ps1 file HOT 2
- Update to new API version? HOT 4
- Weird Restrictions HOT 2
- How to provide answer file? HOT 11
- Source for modified version of packer-post-processor-vagrant.exe ? HOT 3
- Unable to validate my template HOT 3
- Does this support packer 0.85? HOT 3
- build breaks ... missing definition of *package.ConfigTemplate
- Issue in mapping virtual switch to the vm HOT 2
- Possible license change for inclusion of builder into Packer HOT 5
- packer hyperv-iso refuses to see that I have hyper-v ps commands available HOT 1
- [Feature Request] Bootcommand to eject the packer ISO HOT 1
- Max value for wait_time_minutes parameter HOT 2
- Exception when compression_level value is more than 9 HOT 2
- Post-processors "only" parameter throws exception HOT 2
- Max value for Disk and Ram Size HOT 2
- Issue in mapping virtual switch HOT 2
- Vagrant up throws exception for the box file created through Packer HOT 2
- packer build fails to create box file due to unhandled exception occured due to provision error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-hyperv.