|Alex Williams c1aef007ef||3 years ago|
|LICENSE||3 years ago|
|README.md||3 years ago|
|module.l||3 years ago|
|network-setup-password.l||3 years ago|
|network-setup.l||3 years ago|
This repository contains the trial console GUI provided for free with the On-Prem Trial OVA
The trial console GUI is a simplified version of the On-Prem Enterprise console GUI, as it doesn't include the ability to configure or change any settings other than the
To obtain the Enterprise console GUI, as well as help with building an Enterprise OVA, please visit on-premises.com and contact us for pricing and support plans.
jidoteki-admin libs are installed in
/opt/jidoteki/tinyadmin/ (default), or export the install directory with the
JIDO_ADMIN_PATH environment variable.
network-setup-password.l to the
bin/ directory of your
jidoteki-admin installation directory (ex:
Run the script with the
--start option, ex:
The console terminal (getty) can be replaced by adding the start command to
/etc/inittab. There is no support for
Once running, the script will read the IP address, subnet mask, motd, and display them in the console GUI. Through simple menu options 1-3, it is possible to change the admin password, reboot, or shutdown the OVA. The display will refresh every 60 seconds, in case the settings change behind the scenes (DHCP?).
The network-setup script was originally written in Bash, in 2013. Things have evolved since then, and the current iteration is written in PicoLisp.
The script uses a series of helpers found in
tc-functions.l (included with
jidoteki-admin v1.20.0+), and defines its own helpers, which are divided into six sub-sections:
(print-which are used by other functions to display things on the screen, ex:
(ask-which display and act on various menu questions, ex:
(get-which call shell commands and return the parsed results, ex
(show-which display various menus and output on the console, ex:
Certain functions are dynamically loaded from additional files, such as
network-setup-password.l. Additional menus and options can be defined through the
*Optional_menus variables at the top of the script.
Variations of the same scripts are deployed to different customers with unique requirements and features, which is why the scripts contain a series of hardcoded and dynamic values, as most functions were pulled from the Enterprise console GUI. This may lead to confusion as our intention was not to make this a generic tool for the public.
The script was originally intended to perform the initial "setup" of the "network". The Enterprise console GUI provides those functions and more, however this trial version is limited to only displaying the IP address and subnet mask.
There is no need for pull requests, feature requests, or bug reports, since these scripts are actively maintained. If, however, you do modify these scripts, please comply with the MPL-2.0 License and make your changes publicly available in order for everyone to benefit.
Copyright (c) 2018 Alexander Williams, Unscramble firstname.lastname@example.org