Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
example: add kickstsart config files for oe-selftest
Browse files Browse the repository at this point in the history
They are used for oe-selftest, ks-imagecopy.cfg for
text image copy install; ks-pkg.cfg for graphic pkg
install

Signed-off-by: Hongxu Jia <[email protected]>
  • Loading branch information
hongxu-jia committed Jul 5, 2018
1 parent eaa0bcb commit aa75e6d
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
34 changes: 34 additions & 0 deletions example/ks-imagecopy.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Download file from http/ftp server to target image
# download --dest=[file://dir/filename|/dir/filename] --src=[http url| ftp url]

# Shutdown after installation
shutdown
# Use text mode install
text
# Use CDROM installation media
cdrom
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vdb
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Root password: 123456
rootpw --iscrypted $6$3x7c9k9.soqESiSR$C2N7BumARWNRjXgsZOhIm6lA7lo2tNf4gYvNOwAt5sy3hXcu8Ha0P.4TiuWlR15oWsO.db2hcyo6OhoDhCUTJ1
# System services
services --enabled="lvm2-monitor.service"
# System timezone
timezone America/New_York --isUtc
# yocto 1234567
user --groups=wheel --name=yocto --password=$6$Cy.BxhDQnohtocIc$oZzHOnIL9p5e8uIJO3T9hDc7BBOrUhOQHiJeSflr9MkXUIWKKHwKtYJH6ctAn/giKq1vCOH7Q3abdcB0FJ8qq1 --iscrypted --gecos="yocto"
# System bootloader configuration
bootloader --location=mbr --boot-drive=vdb
autopart --type=lvm
# Partition clearing information
clearpart --all --initlabel --drives=vdb

38 changes: 38 additions & 0 deletions example/ks-pkg.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#version=DEVEL
# System authorization information
auth --enableshadow --passalgo=sha512
# Download file from http/ftp server to target image
# download --dest=[file://dir/filename|/dir/filename] --src=[http url| ftp url]

# Shutdown after installation
shutdown
# Use graphical install
graphical
# Use CDROM installation media
cdrom
# Run the Setup Agent on first boot
firstboot --enable
ignoredisk --only-use=vdb
# Keyboard layouts
keyboard --vckeymap=us --xlayouts='us'
# System language
lang en_US.UTF-8

# Root password: 123456
rootpw --iscrypted $6$Szquzf7ZnKutogc4$S7nwzd59r.ck.JQ1tAwLWoVg9BMljCwyMknBQ278UE9Ag1b7mifo7IetY8ijR40vzrjvUBd9aq1QljuFJccW/1
# System services
services --enabled="lvm2-monitor.service"
# System timezone
timezone America/New_York --isUtc
# yocto 1234567
user --groups=wheel --name=yocto --password=$6$kvzS3B4/MZ9hb0rU$6GvdCwI84b2gOqG.NvqoQ4AlnejMp8lHYX2K89Cvv204oR31kjLs9Pik8h38wyhOA22wMOVNaAMuETFBkcvux. --iscrypted --gecos="windriver"
# System bootloader configuration
bootloader --location=mbr --boot-drive=vdb
autopart --type=lvm
# Partition clearing information
clearpart --all --initlabel --drives=vdb

%packages
@^core-image-minimal
%end

0 comments on commit aa75e6d

Please sign in to comment.