Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
cmd:imgfetch [2012/11/20 00:37]
mcb30
cmd:imgfetch [2014/03/10 13:47]
mcb30
Line 3: Line 3:
 ===== Synopsis ===== ===== Synopsis =====
  
-    imgfetch [--name <​name>​] <uri> [<​arguments>​...]+    imgfetch [--name <name>] [--timeout <timeout>] <uri> [<​arguments>​...]
  
 or or
  
-    module [--name <​name>​] <uri> [<​arguments>​...]+    module [--name <name>] [--timeout <timeout>] <uri> [<​arguments>​...]
  
 or or
  
-    initrd [--name <​name>​] <uri> [<​arguments>​...]+    initrd [--name <name>] [--timeout <timeout>] <uri> [<​arguments>​...]
  
 ===== Examples ===== ===== Examples =====
Line 29: Line 29:
 ===== Description ===== ===== Description =====
  
-Download an image from the specified URI.  A name for the downloaded image can be specified using the ''​%%--name%%''​ option. ​ Any remaining arguments will be passed directly to the image.+Download an image from the specified URI.  A name for the downloaded image can be specified using the ''​%%--name%%''​ option. ​ A download progress timeout can be specified (in milliseconds) using the ''​%%--timeout%%''​ option. ​ Any remaining arguments will be passed directly to the image.
  
 If this command is executed from within an iPXE [[:​scripting|script]],​ then the URI will be interpreted as being relative to the URI of the script itself. ​ For example, if the script ''​%%http://​boot.ipxe.org/​demo/​boot.php%%''​ contains the line If this command is executed from within an iPXE [[:​scripting|script]],​ then the URI will be interpreted as being relative to the URI of the script itself. ​ For example, if the script ''​%%http://​boot.ipxe.org/​demo/​boot.php%%''​ contains the line
Line 52: Line 52:
 ===== Notes ===== ===== Notes =====
  
-The commands ''​imgfetch'',​ ''​module'',​ and ''​initrd'' ​are identical.+There is no difference between the commands ''​imgfetch'',​ ''​module'',​ and ''​initrd''​.
  
 When booting a Linux kernel, any argument supplied to the ''​initrd''​ command will be used as the pathname for that image within the initial RAM filesystem. ​ For example, if you have the script When booting a Linux kernel, any argument supplied to the ''​initrd''​ command will be used as the pathname for that image within the initial RAM filesystem. ​ For example, if you have the script
cmd/imgfetch.txt ยท Last modified: 2023/02/15 18:11 by mcb30
Recent changes RSS feed CC Attribution-Share Alike 4.0 International Driven by DokuWiki
All uses of this content must include an attribution to the iPXE project and the URL https://ipxe.org
References to "iPXE" may not be altered or removed.