besawn
89af19cecc
Merge pull request #7249 from NCI-Cloud/mknb_initrd_file_fix
...
mknb: Correctly specify initrd file when generating netboot configs.
2022-11-14 16:27:09 -05:00
Mark Gurevich
fc168cc9b8
Test lzma compression for genesis network boot
2022-11-08 14:46:00 -05:00
Simon Fowler
85a9e0abba
Correctly specify initrd file for all netboot configs.
...
Previously the code which created the netboot config files was
incorrectly specifying the initrd file name in a number of places,
particularly in the xcat/xnba/nets/* files, using a hard-coded `.gz`
suffix even when a `.lzma` file had been created. This change ensures
that the initrd file name determined earlier in the code (either when
the image is created, or in the configonly case by checking the
filesystem) is used correctly when creating the netboot config files.
2022-09-12 13:37:29 +10:00
Mark Gurevich
42fbc2e063
Update BOOTIF
2021-11-02 14:53:23 -04:00
Mark Gurevich
cf1e71445e
Change uefi to not do elilo for network discovery boot
2021-11-01 15:06:50 -04:00
Yuan Bai
5db2dbd62c
fix5209 nodeset cannot find pxelinux.0 ( #5783 )
...
* distro pxelinux.0 default path is changed in ubuntu 16.04
2018-11-09 17:03:58 +08:00
yangsbj
1889ec879d
support site.httpport in nodeset and mknb
2018-11-01 23:29:01 -04:00
GONG Jie
6e096b05ad
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/mknb.pm
2017-12-31 23:59:59 +00:00
Jarrod Johnson
1dfc1ae80e
Copy in hidden files to mknb
...
mknb was ignoring hidden files (e.g. .screenrc), fix this.
2017-11-07 11:52:16 -05:00
Bin Xu
7917678e39
Fix 3603, if using ppc64le/ppc64el for mknb, just use 'ppc64' as a substitude.
2017-08-03 15:52:25 +08:00
ertaozh
003290702e
a syntax error within mknb.pm
2016-11-30 02:59:40 -05:00
Obihörnchen
dc9ffa4307
Fix mknb: Undefined subroutine noderange
...
Add missing xCAT::NodeRange module
2016-11-18 15:47:47 -05:00
Victor Hu
263acbf5ce
Based on Er Tao's comments, before going into the code for determining
...
the noboot nic names, parse out the interface names for the tagged vlans
without the physical name in the string
2016-11-15 16:48:45 -05:00
Victor Hu
2ca61ad9e8
Support noboot on interfaces that are tagged vlan on the mangement node
2016-11-14 13:31:48 -05:00
ertaozh
45c676e3a4
Fix issue 1881: Garrison boots genesis kernel when mutliple interfaces have dhcp dynamic ranges
2016-10-14 02:33:15 -04:00
Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
Victor Hu
726d4d35f1
Fix the formatting of the file to use 3 spaces instead of tab
2016-06-07 13:49:13 -04:00
Victor Hu
d73b02386a
Adding quotes to the label and default tag. Without
...
this, petitboot menu does not count down by default
2016-06-07 13:40:11 -04:00
Victor Hu
9d7120d3c6
Add more information to the label to identify that the network
...
boot is the Genesis Kernel and the IP which is serving it
2016-05-26 15:53:41 -04:00
ertaozh
16d4e7de4a
fix issue 1084: [FVT] 2.12 mknb failed on ubuntu 16.04 x86 env
2016-05-13 02:54:10 -04:00
Patrick Lundgren
850051bd75
removed keygen of rsa1 key and removed references / replaced with rsa key when appropriate
2016-04-12 09:50:16 -04:00
zhaoertao
754b22c710
enhance mknb <arch> -c command
2015-07-02 03:29:44 -04:00
zhaoertao
c3a3b8083b
add '-c' option for mknb to just create netboot configuration file
2015-07-01 04:33:14 -04:00
zhaoertao
32d389cbee
add message for 'mknb' in ubuntu LE
2014-10-07 23:19:36 -07:00
mellor
3133cbeb3f
1. add xCAT depend on xcat-genesis-scripts, 2. fix mknb issue, 3. modify xcatconfig to call mknb <ppc64/x86_64>
2014-09-29 21:26:52 -07:00
mellor
b06aa3afb0
enhance of creating default netboot configuration file for p8 hardware discovery
2014-09-24 20:23:20 -07:00
mellor
08e0ce42f0
correct the default configuration file for p8 hardware discovery
2014-09-24 02:41:55 -07:00
mellor
ee1a1574c3
generate default netboot configure file for p8 hardware discovery
2014-09-24 02:38:54 -07:00
yinle
0e732ddc99
Remove the checking of yaboot-xcat to support removing yaboot-xcat rpm.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 06:25:21 +00:00
zhaoertao
3eda693ede
fix subroutine moving issue in xCAT-server/lib/xcat/plugins/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 11:55:48 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jbjohnso
ca8dcb8bf4
Fix problem where mknb was not satisfied with genesis alone
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 19:19:40 +00:00
jjhua
9dac448093
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12886 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:12:18 +00:00
jbjohnso
aab44b34bd
Fix problem where mknb failed to create a correct discovery configuration on rhel6 uefi environments
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 21:12:08 +00:00
jbjohnso
b201b45c7f
Fix mknb construction of genesis when lzma is missing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-09 16:18:40 +00:00
jbjohnso
cd5ee8a18c
Fix brace mismatch in mknb
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-03 21:24:31 +00:00
jbjohnso
b8e6eadfaa
Remove failed lzma attempt if applicable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11440 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-31 16:45:38 +00:00
jbjohnso
0282e90cf0
Have bmcsetup work around a limitation of a certain service processor
...
Fix mknb to more comprehensively handle the lzma case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-26 22:06:09 +00:00
jbjohnso
9b3a7ffb0e
Prefer lzma when available for Genesis compression
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 14:34:32 +00:00
lissav
991b06ffc2
fix defect 3007885
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11365 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-10 15:15:51 +00:00
jbjohnso
5863eab0ad
Reworked Genesis scripting to provide screen managed console
...
Have mknb correctly create elilo/xnba config files
Have dhcp implement required hooks to start xnba.efi
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-15 22:00:55 +00:00
jbjohnso
0d82caba3b
Fix location of ssh key to install in genesis environment mknb
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 19:12:37 +00:00
jbjohnso
e3b1c34d5c
Correct quotation in mknb.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10512 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 18:17:29 +00:00
jbjohnso
b39f5d4f11
Fix issues with mknb
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10511 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 18:12:39 +00:00
jbjohnso
c83a40b120
Have destiny and mknb understand how to work with xCAT-genesis
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 13:56:43 +00:00
daniceexi
570dd09a88
defect 2948409: use subroutine getTftpDir to get the tftp dir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 09:05:10 +00:00
jbjohnso
79f816a417
-Add console=tty0 for all serialport consoles.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-15 17:59:11 +00:00
jbjohnso
f712b51ad6
-Move to using gPXE/http for a lot of traffic
...
-Have pxe plugin handle addkcmdline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 18:37:45 +00:00
jbjohnso
648fb472e3
-Create xNBA bootstrap config files for nbfs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-26 19:29:01 +00:00
lissav
2ded87c984
These updates move the /install/postscripts/hostkeys private and public keys to reside in /etc/xcat/hostkeys directory. It will leave a copy of the public hostkeys in /install/postscripts/hostkeys
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2714 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-10 19:48:29 +00:00