I did play with pc-sysinstall to get GELI working (and found a few issues that need to be taken care of). However I only managed to use it to install FreeBSD as I have no idea how to do it with GhostBSD.
So I'm asking for help here:
1) How does the installer work? Or rather: Is it even just one installer?
2) I've stumbled across ginstall.py which looks like a text-based installer. What is the status of that? Can it be used today?
3) I know that GBI creates a cfg file for pc-sysinstall and let's it take care of the actual installation. How does that work? I found the file that gbi creates to be invalid. Here's an example:
Code: Select all
# Installation Mode
installMode=fresh
installInteractive=no
installType=GhostBSD
installMedium=dvd
packageType=livecd
# System Language
localizeLang=de
localizeKeyLayout=de
# Timezone
timeZone=Europe/Berlin
enableNTP=yes
# Disk Setup
disk0=ada0
partition=all
bootManager=none
partscheme=GPT
commitDiskPart
# Partition Setup
disk0-part=UFS+SUJ 110474 /
disk0-part=SWAP 0 none
commitDiskLabel
# Network Configuration
hostname=test
# Network Configuration
# Set the root pass
rootPass=a
# Setup user
userName=tester
userComment=tester
userPass=a
userShell=/bin/tcsh
userHome=/home/tester
defaultGroup=wheel
userGroups=operator
commitUser
runScript=/usr/local/bin/iso_to_hd
runCommand=pkg install -y de-libreoffice
4) I did not find any debug mode or anything in GBI. How do you debug it or test things?
5) How can I make final changes to the cfg before the actual installation begins?
PS: Eric: Are you willing to accept pull requests for things like renaming variables (see here: https://github.com/kraileth/gbi)? One of the things that I learned from our programmers was that meaningful names are important. And while you of course know your variables, other people looking at the code probably don't and (like me) have to look up where they are defined to understand what they mean.