/[smeserver]/cdrom.image/sme10/netinstall/ks.cfg
ViewVC logotype

Diff of /cdrom.image/sme10/netinstall/ks.cfg

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.6 by chrissn, Thu Mar 18 22:20:46 2021 UTC Revision 1.13 by jpp, Sun Apr 17 16:24:12 2022 UTC
# Line 23  eula --agreed Line 23  eula --agreed
23    
24    
25  # Add netinstall repos  # Add netinstall repos
26  url --url  https://mirror.canada.pialasse.com/releases/testing/10/smeos/x86_64/  url --mirrorlist https://mirrorlist.koozali.org/mirrorlist/smeos-10-x86_64
27  repo --name=smeupdates --baseurl=https://mirror.canada.pialasse.com/releases/testing/10/smeupdates/x86_64/  repo --name=smeupdates --mirrorlist https://mirrorlist.koozali.org/mirrorlist/smeupdates-10-x86_64
28    repo --name=remi-safe --baseurl  http://rpms.famillecollet.com/enterprise/7/safe/x86_6/
29    #url --url http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/10/smeos/x86_64/
30    #repo --name=smeupdates --baseurl http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/10/smeupdates/x86_64/
31    
32  # Packages to install  # Packages to install
33    # need to unselect to be able to use mirrorlist or anaconda errors before loading repo.
34  %packages  %packages
35  @^minimal  #@^minimal
36  @base  #@base
37  @core  #@core
38  -chrony  -chrony
39  -kexec-tools  -kexec-tools
40  %end  %end
# Line 42  repo --name=smeupdates --baseurl=https:/ Line 46  repo --name=smeupdates --baseurl=https:/
46  # Read command line arguments  # Read command line arguments
47  if grep nolvm "/proc/cmdline" ; then NOLVM=true ; fi  if grep nolvm "/proc/cmdline" ; then NOLVM=true ; fi
48  if grep noraid "/proc/cmdline" ; then NORAID=true ; fi  if grep noraid "/proc/cmdline" ; then NORAID=true ; fi
49    if grep noxfs "/proc/cmdline" ; then FSTYPE="ext4" ; else FSTYPE="xfs" ; fi
50  echo "Command line arguments:"  echo "Command line arguments:"
51  cat /proc/cmdline  cat /proc/cmdline
52    
# Line 152  EOF Line 157  EOF
157      fi      fi
158    
159      # Create boot partition      # Create boot partition
160      printf "part /boot --fstype=xfs --size=500  --label=BOOT --ondisk=%s\n" "${DRIVES[0]}" >> /tmp/part-include      printf "part /boot --fstype=%s --size=500  --label=BOOT --ondisk=%s\n" "$FSTYPE" "${DRIVES[0]}" >> /tmp/part-include
161    
162      # Default to LVM unless specified at command line      # Default to LVM unless specified at command line
163      if [ $NOLVM ] ; then      if [ $NOLVM ] ; then
164        cat >> /tmp/part-include <<EOF        cat >> /tmp/part-include <<EOF
165        part / --fstype=xfs --grow --size=3000 --label=ROOT --ondisk=${DRIVES[0]}        part / --fstype=$FSTYPE --grow --size=3000 --label=ROOT --ondisk=${DRIVES[0]}
166        part swap --fstype=swap --recommended --label=SWAP --ondisk=${DRIVES[0]}        part swap --fstype=swap --recommended --label=SWAP --ondisk=${DRIVES[0]}
167  EOF  EOF
168      else      else
169        cat >> /tmp/part-include <<EOF        cat >> /tmp/part-include <<EOF
170        part pv.01 --size=4300 --grow --ondisk=${DRIVES[0]}        part pv.01 --size=4300 --grow --ondisk=${DRIVES[0]}
171        volgroup main pv.01        volgroup main pv.01
172        logvol / --fstype=xfs --name=root --vgname=main --grow --size=3000        logvol / --fstype=$FSTYPE --name=root --vgname=main --grow --size=3000
173        logvol swap --fstype=swap --name=swap --vgname=main --recommended        logvol swap --fstype=swap --name=swap --vgname=main --recommended
174  EOF  EOF
175      fi      fi
# Line 225  EOF Line 230  EOF
230      fi      fi
231    
232      # Boot partition      # Boot partition
233      printf "raid /boot --fstype=xfs --level=1 --spares=0 --device=md0 %s\n" "$BOOTDEVS" >> /tmp/part-include      printf "raid /boot --fstype=%s --level=1 --spares=0 --device=md0 %s\n" "$FSTYPE" "$BOOTDEVS" >> /tmp/part-include
234    
235      # Default to LVM unless specified      # Default to LVM unless specified
236      if [ $NOLVM ] ; then      if [ $NOLVM ] ; then
237        cat >> /tmp/part-include <<EOF        cat >> /tmp/part-include <<EOF
238        raid / --fstype=xfs --level=$LEVEL --spares=$SPARE --device=md1 $ROOTDEVS        raid / --fstype=$FSTYPE --level=$LEVEL --spares=$SPARE --device=md1 $ROOTDEVS
239        raid swap --fstype=swap --level=$LEVEL --spares=$SPARE --device=md2 $SWAPDEVS        raid swap --fstype=swap --level=$LEVEL --spares=$SPARE --device=md2 $SWAPDEVS
240  EOF  EOF
241      else      else
242        cat >> /tmp/part-include <<EOF        cat >> /tmp/part-include <<EOF
243        raid pv.01 --level=$LEVEL --spares=$SPARE --device=md1 $ROOTDEVS        raid pv.01 --level=$LEVEL --spares=$SPARE --device=md1 $ROOTDEVS
244        volgroup main pv.01        volgroup main pv.01
245        logvol / --fstype xfs --name=root --vgname=main --grow --size=3000        logvol / --fstype=$FSTYPE --name=root --vgname=main --grow --size=3000
246        logvol swap --fstype swap --name=swap --vgname=main --recommended        logvol swap --fstype swap --name=swap --vgname=main --recommended
247  EOF  EOF
248      fi      fi


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed