Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it posible to use variable arguments (parameters) when run ipxe and then pars it i
2018-04-16, 06:36
Post: #3
RE: Is it posible to use variable arguments (parameters) when run ipxe and then pars it i
I run ipxe from syslinux.

Now i must to have one config file in syslinux and 3 config files in ipxe.

default:
Code:
LABEL
menu label Image1
kernel /ipxe/ipxe.lkrn
initrd /ipxe/image1.ipxe

LABEL
menu label Image2
kernel /ipxe/ipxe.lkrn
initrd /ipxe/image1.ipxe

LABEL
menu label Image3
kernel /ipxe/ipxe.lkrn
initrd /ipxe/image1.ipxe

image1.ipxe:
Code:
#!ipxe
dhcp
sanboot --no-describe http://10.80.1.44/Image1.iso
image2.ipxe:
Code:
#!ipxe
dhcp
sanboot --no-describe http://10.80.1.44/Image2.iso
image3.ipxe:
Code:
#!ipxe
dhcp
sanboot --no-describe http://10.80.1.44/Image3.iso


I desire to have one config file in syslinux and one config file in ipxe.


default:
Code:
LABEL
menu label Image1
kernel /ipxe/ipxe.lkrn  http://10.80.1.44/Image1.iso
initrd /ipxe/loadimage.ipxe

LABEL
menu label Image2
kernel /ipxe/ipxe.lkrn http://10.80.1.44/Image2.iso
initrd /ipxe/loadimage.ipxe

LABEL
menu label Image3
kernel /ipxe/ipxe.lkrn http://10.80.1.44/Image2.iso
initrd /ipxe/loadimage.ipxe

loadimage.ipxe:
Code:
#!ipxe
dhcp
sanboot --no-describe %Arg1%
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Is it posible to use variable arguments (parameters) when run ipxe and then pars it i - fatallerror - 2018-04-16 06:36



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