Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Wim Or Variable Passing
2015-12-17, 21:04
Post: #1
Multiple Wim Or Variable Passing
Hi!

I know this has been asked in the past but I wanted to see if anyone had any new ideas. I have a bunch of images that are just slightly different, if I could pass varibles through wimboot, then I could have one image and a script that knew how to handle that. Or if I could attach a secondary wim that just had what I needed. Then I could have the one main image I maintain and a few small ones. Any ideas?

My only thought right now was to have a system checking to a webserver while booting a image, then once the image starts ask the webserver what the ipxe menu said.
Find all posts by this user
Quote this message in a reply
2015-12-17, 22:59
Post: #2
RE: Multiple Wim Or Variable Passing
(2015-12-17 21:04)danberk Wrote:  Hi!

I know this has been asked in the past but I wanted to see if anyone had any new ideas. I have a bunch of images that are just slightly different, if I could pass varibles through wimboot, then I could have one image and a script that knew how to handle that. Or if I could attach a secondary wim that just had what I needed. Then I could have the one main image I maintain and a few small ones. Any ideas?

My only thought right now was to have a system checking to a webserver while booting a image, then once the image starts ask the webserver what the ipxe menu said.

For now there is no support to changing wim files on the fly. My own current setup for this is running ipconfig and parsing out nic MAC and then post that to an server using wget.

An alternative to this is to add an parameter by loading different BCD files, On my todo list is to have scripts that can generate BCD files with given parameters. But I have not had much time to work on it for a long time now. (have posted some details about it on the forum before)

Read the FAQ before posting.
Did you include relevant ipxe.org error urls?
Visit this user's website Find all posts by this user
Quote this message in a reply
2016-02-04, 00:13
Post: #3
RE: Multiple Wim Or Variable Passing
(2015-12-17 21:04)danberk Wrote:  I know this has been asked in the past but I wanted to see if anyone had any new ideas. I have a bunch of images that are just slightly different, if I could pass varibles through wimboot, then I could have one image and a script that knew how to handle that. Or if I could attach a secondary wim that just had what I needed. Then I could have the one main image I maintain and a few small ones. Any ideas?

My only thought right now was to have a system checking to a webserver while booting a image, then once the image starts ask the webserver what the ipxe menu said.

A single .wim may contain multiple images. These are stored efficiently, so files that are identical between multiple images will be stored only once.

You can select the boot image by passing the "index=<N>" parameter to wimboot.

Michael
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)