2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

738 Commits

Author SHA1 Message Date
Victor Hu
71a08a91f0 Format the logger messages to be consistent with the echo 2017-01-25 15:59:26 -05:00
Victor Hu
6ca6a80a56 Use a more informative logger tag and standard priority 2017-01-25 15:48:58 -05:00
Victor Hu
bce2ee92d2 format to use 4 spaces instead of tab 2017-01-25 15:44:45 -05:00
Casandra Qiu
71ca913325 Running dist-upgrade for not upgraded packages for diskless Ubuntu
images
2017-01-09 11:14:50 -05:00
immarvin
8f17e38190 use updateflag.awk under postscripts in sles diskless initrd 2017-01-05 22:09:46 -05:00
bybai
b4aa8a5efd fix 2090 delete underlying files for ro statelite mounts 2017-01-05 01:33:34 -05:00
immarvin
483923eae7 correct a syntax 2016-12-05 03:46:42 -05:00
bybai
3370a7d48e fix statelite persistent dir use short name 2016-11-30 22:34:42 -05:00
bybai
d92f4b0697 fix no persistent dir in statelite ramdisk 2016-11-30 08:36:12 -05:00
bybai
b769d36e06 fix issue1873 Failed to find the directory: /.statelite/persistent after statelite installation 2016-11-22 01:39:59 -05:00
immarvin
aac736afcb create /opt/xcat under rootimage dir incase it is not there 2016-11-10 01:07:59 -05:00
immarvin
a40f73972a use the relative path to enable xcatpostinit1.service;remove previous xcatpostinit1 sysvinit file and systemd service unit file 2016-11-08 22:54:26 -05:00
cxhong
3036c8547b Merge pull request #2109 from immarvin/onxcatservice
correct the typo in commit 6f735b0e8d2eb90b5377da7baa5e2b855f7a798a
2016-11-08 10:23:17 -05:00
immarvin
b7aae30d08 correct the typo in commit 6f735b0e8d2eb90b5377da7baa5e2b855f7a798a 2016-11-08 23:07:56 +08:00
Xiaopeng Wang
1b51602577 Merge pull request #2055 from immarvin/onxcatservice
fix issue linux orderly shutdown not noticed by xcat. #1939
2016-11-07 17:03:06 +08:00
penguhyang
1446ee33d7 fix utilities required for statelite missing from sles initrd (#2093) 2016-11-07 15:53:40 +08:00
immarvin
6f735b0e8d fix issue linux orderly shutdown not noticed by xcat. #1939;replace xcatpostinit1 sysvinit service with xcatpostinit1.service systemd service unit as the hook to run PS&PBS and report status for redhat;report node status on system <reboot/shutdown> command 2016-11-07 13:54:47 +08:00
immarvin
1ebdb5d96c add lock in rh/genimage to avoid multiple genimage processes on same rootimg directory;add guard code before umount/remove mount points under rootimg directory 2016-11-03 03:32:12 -04:00
Matt Ezell
0c84550441 Ensure the requested kernel version and associated packages are installed (#2018)
If a specific version of the kernel was requested, make sure any other
kernel-related packages requested in a package list get the same version.
Note, packages that get pulled in due to dependencies are NOT checked.
Also avoid updating the kernel packages when the requested version has already
been installed.
2016-10-25 14:21:06 +08:00
Victor Hu
e0bd9e1e46 Merge pull request #1986 from hu-weihua/mellanox
Refine hack_uname() in mlnxofed_ib_install.v2
2016-10-20 10:39:55 -04:00
Matt Ezell
4a84d6625d Use network settings from the command line (#1980) 2016-10-19 15:15:50 +08:00
hu-weihua
a6c910467e Refine hack_uname() in mlnxofed_ib_install.v2 2016-10-18 23:15:19 -04:00
Weihua Hu
7450348c94 Merge pull request #1953 from mattaezell/hackuname_update
Update the hackuname function
2016-10-17 16:55:25 +08:00
cxhong
7dd63f1aee Don't need to update otherpkgdir to default dir for genimage command (#1954) 2016-10-13 13:07:01 +08:00
Matt Ezell
e71c03d560 Fix escaping in hackuname 2016-10-12 10:11:33 -04:00
Matt Ezell
407aac96f9 Update the hackuname function
There are currently 2 different ways that uname is being faked;
combine both use cases.  Use the kernelver provided by the user
instead of attempting to detect it
2016-10-11 13:47:41 -04:00
Weihua Hu
d46d34f8b8 Merge pull request #1724 from mattaezell/xdie_rootimgdir
Protect umount_chroot from running with rootimage_dir undefined
2016-09-28 14:24:24 +08:00
immarvin
b6d14179ca add IMG_NAME into the environment variables to postinstall scripts 2016-09-23 14:32:54 +08:00
immarvin
ce8e4cf962 fix todays development version of xcat has a dramatically longer netboot time. #1882 2016-09-23 13:18:59 +08:00
immarvin
66c99aad31 fix issue netboot postscripts have no knowledge about the osimage it is installing. #1857; export osimage attributes to postinstall scripts as environment variables 2016-09-22 05:05:00 -04:00
immarvin
bb8c683b41 fix issue rh7.3 and rh7.2 diskless image installation failed. #1855 2016-09-19 21:48:14 -04:00
immarvin
c0194840e7 fix issue Enable Kdump can not work on diskless image for rh7.3 snapshot1 #1805;add support for kdump on rh7.x 2016-09-12 01:32:34 -04:00
immarvin
2a0529876a fix issue enimage deleted /dev/* on the management node... #1767 2016-08-25 21:56:05 -04:00
penguhyang
c93b215c2c fix sles11.4 packimage return error when use tar compress method (#1743) 2016-08-24 12:13:36 +08:00
Matt Ezell
7225f2e586 Protect umount_chroot from running with rootimage_dir undefined 2016-08-17 11:00:18 -04:00
Victor Hu
ced0f25d91 Merge pull request #1678 from cxhong/1356
CUDA8 support on rhel7.2 and rhel7.3
2016-08-15 15:41:50 -04:00
Casandra Qiu
6a197828ae modify comments 2016-08-15 14:31:25 -04:00
Casandra Qiu
f492ceb7e9 use cudaruntime-8-0 as default 2016-08-15 08:50:49 -04:00
penguhyang
d4a397adce support tar for redhat6.8 2016-08-15 02:40:23 -04:00
immarvin
5699b025dd fix issue [FVT]on rhels6.8, rootimg.tar.gz is only 20 bytes after run packimage -m tar rhels6.8-ppc64-netboot-compute ; fix issue #1689 [FVT]:diskless provision broken using rootimg.tar.gz created by packimage -m tar osimage #1688 2016-08-13 00:30:56 -04:00
Casandra Qiu
33d30c8efa indent the line space 2016-08-12 16:24:13 -04:00
Casandra Qiu
2b54a0ed33 genimage failed for rhels7.2 because /etc/selinux/config file didn't exists 2016-08-12 15:38:09 -04:00
penguhyang
28144017e4 update pkglist for redhat sles ubuntu (#1680) 2016-08-12 01:03:39 -05:00
Casandra Qiu
672b7113d7 CUDA8 support on rhel7.2 and rhel7.3 2016-08-11 12:04:24 -04:00
immarvin
c70913262d fix issue [DEV] Diskless boot failed for rhel7.3 because selinux disabled. #1666 ; disable selinux in the rootimg 2016-08-11 05:11:03 -04:00
penguhyang
79426ad21e add new option to indicate compress method (#1669) 2016-08-11 03:09:43 -05:00
immarvin
2ab944ea65 add ubuntu16.04.1 netboot pkglist;modify the precedence of SvrUtils::get_file_name 2016-08-08 05:10:02 -04:00
penguhyang
c672699571 fix genimage failed on rh6.8 (#1631) 2016-08-04 14:35:45 +08:00
Jesse Hanley
c5121bce0f Added support for remote repos in pkgdir (#1614)
This allows for remote repositories to be used for image creation.
2016-08-04 11:08:04 +08:00
penguhyang
5cd203cdf5 enhance packimage -m txc (#1602) 2016-08-02 16:45:31 +08:00