mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 18:50:28 +00:00
Preliminary code for PowerKVM 3.1 support
This commit is contained in:
@@ -1302,12 +1302,16 @@ sub mkinstall
|
||||
|
||||
)
|
||||
) or ( $arch =~ /ppc/
|
||||
and -r "$pkgdir/ppc/ppc64/vmlinuz"
|
||||
and $kernpath = "$pkgdir/ppc/ppc64/vmlinuz"
|
||||
and ((-r "$pkgdir/ppc/ppc64/vmlinuz"
|
||||
and $kernpath = "$pkgdir/ppc/ppc64/vmlinuz")
|
||||
or (-r "$pkgdir/ppc/ppc64le/vmlinuz"
|
||||
and $kernpath = "$pkgdir/ppc/ppc64le/vmlinuz"))
|
||||
and ((-r "$pkgdir/ppc/ppc64/ramdisk.image.gz"
|
||||
and $initrdpath = "$pkgdir/ppc/ppc64/ramdisk.image.gz")
|
||||
or (-r "$pkgdir/ppc/ppc64/initrd.img"
|
||||
and $initrdpath = "$pkgdir/ppc/ppc64/initrd.img")))
|
||||
and $initrdpath = "$pkgdir/ppc/ppc64/initrd.img")
|
||||
or (-r "$pkgdir/ppc/ppc64le/initrd.img"
|
||||
and $initrdpath = "$pkgdir/ppc/ppc64le/initrd.img")))
|
||||
)
|
||||
{
|
||||
#TODO: driver slipstream, targetted for network.
|
||||
|
@@ -0,0 +1,43 @@
|
||||
#
|
||||
# Select a zone
|
||||
# Add the --utc switch if your hardware clock is set to GMT
|
||||
#
|
||||
#timezone US/Hawaii
|
||||
#timezone US/Pacific
|
||||
#timezone US/Mountain
|
||||
#timezone US/Central
|
||||
#timezone US/Eastern
|
||||
timezone --utc "#TABLE:site:key=timezone:value#"
|
||||
|
||||
#
|
||||
# Don't do X
|
||||
#
|
||||
#skipx
|
||||
|
||||
|
||||
#
|
||||
# To generate an encrypted root password use:
|
||||
#
|
||||
# perl -e 'print crypt("blah","Xa") . "\n";'p
|
||||
# openssl passwd -apr1 -salt xxxxxxxx password
|
||||
#
|
||||
# where "blah" is your root password.
|
||||
#
|
||||
rootpw --iscrypted #CRYPT:passwd:key=system,username=root:password#
|
||||
|
||||
#partition / --ondisk=/dev/mapper/ibmpkvm_vg_root-ibmpkvm_lv_root
|
||||
partition / --ondisk=/dev/sda
|
||||
#the --devicename must specify right now, but without network command, it can also work, so we delete it.
|
||||
#network --bootproto dhcp
|
||||
|
||||
%post
|
||||
touch "/startpost"
|
||||
|
||||
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat#
|
||||
touch "/inpost"
|
||||
|
||||
#sleep 1000000
|
||||
|
||||
|
||||
%end
|
||||
|
Reference in New Issue
Block a user