A Holt
A Holt
> 3\. yep, you're right,[ it does it here](https://github.com/learningequality/kolibri-installer-debian/blob/master/debian/kolibri.scripts-common#L352-L357) , If you tell me any flag I can use to find out if the device is running IIAB I'm happy...
@jredrejo in the past (@benjaoming I think!?) suggested we encode the Linux username (that Kolibri uses) into these 2 places: 1) `/etc/kolibri/username` https://github.com/iiab/iiab/blob/ebdba360a38e1c18f2e4dfd9ba9980355d2a0202/roles/kolibri/tasks/install.yml#L24-L27 2) Linux Environment Variable `KOLIBRI_USER` https://github.com/iiab/iiab/blob/ebdba360a38e1c18f2e4dfd9ba9980355d2a0202/roles/kolibri/tasks/install.yml#L100-L105 QUESTION:...
> Installing the package after using this preseed will make it use your configs without questions. Interesting! Is this in fact the most robust + resilient way long-term ?? (I'd...
Just FYI if one runs `dpkg-reconfigure kolibri` then a 4th screen can also appear: ``` ┌─────────────────────────┤ Kolibri configuration ├─────────────────────────┐ │ │ │ Changing system service owner: │ │ │ │...
> easier just to create /etc/default/kolibri with the alternate iiab info Great question! Does Kolibri support setting `KOLIBRI_USER` etc within `/etc/default/kolibri` as possibly suggested below? - https://github.com/learningequality/kolibri-installer-debian/issues/62
@jredrejo 1) Short Term Question: Should IIAB run the following command[s] immediately after installing Kolibri? ``` echo 'kolibri kolibri/init boolean true' | debconf-set-selections echo 'kolibri kolibri/user string kolibri' | debconf-set-selections...
KOLIBRI_USER or KOLIBRI_HOME should almost always be preserved from the prior Kolibri installation (during Kolibri upgrades). But FWIW https://askubuntu.com/questions/429592/what-is-the-purpose-of-etc-default/429604#429604 does mention that `/etc/default` is almost perfect for this — e.g....
> > Does Kolibri support setting `KOLIBRI_USER` etc within `/etc/default/kolibri` as possibly suggested below? > > > > * [Incorrect value of KOLIBRI_HOME in /etc/default/kolibri learningequality/kolibri-installer-debian#62](https://github.com/learningequality/kolibri-installer-debian/issues/62) > > Yes Interesting!...
@jredrejo Quick Question: is Line 35 of `/etc/default/kolibri` ignoring any pre-existing KOLIBRI_HOME environment variable on purpose? ``` KOLIBRI_HOME="$(getent passwd $KOLIBRI_USER | awk -F ':' '{print $6}')/.kolibri" ``` ( That's https://github.com/learningequality/kolibri-installer-debian/blob/5f01725423f0bc5d93a8e57fb65e25c3edc46b13/debian/startup/kolibri.default#L35...
> you can create a github issue and I'll do it when I got some bandwidth Thanks @jredrejo for all your help explaining. This is starting to make a lot...