Jarrod Johnson
b1a91ad409
Add support for comments in batch
...
Use # as comment character in nodeconfig batch.
2019-02-12 11:12:47 -05:00
Jarrod Johnson
1378b01feb
Fix nodeconfig handling of multiple colons
...
If multiple colon designated settings are present, correctly
associate settings with appropriate key.
2019-01-16 11:31:06 -05:00
Jarrod Johnson
8197c750bb
Add batch support to nodeconfig
2018-12-10 09:47:49 -05:00
Jarrod Johnson
46d62e67de
Do not include advanced in comparedefault by default
...
Advanced settings may do unusual things, only check if explicitly
requested to do so.
2018-08-30 09:58:15 -04:00
Jarrod Johnson
7c9089c87d
Change nodeconfig -r to take a parameter
...
This opens up for future ability to control the restore to default.
2018-08-30 09:35:16 -04:00
Jarrod Johnson
ba18b9936f
Fix mistakes in previous commit
2018-08-29 15:15:34 -04:00
Jarrod Johnson
3b7ecd0095
Add ability to clear system configuration
...
This provides a method to request the system firmware be restored to
factory defaults.
2018-08-29 14:49:19 -04:00
Jarrod Johnson
319fec2145
Add advanced to nodeconfig
2018-08-17 11:16:11 -04:00
Jarrod Johnson
daef9fa60b
Fix confusing nodeconfig error handling
...
Properly react to error conditions
2018-06-01 16:48:34 -04:00
Jarrod Johnson
cefca49128
Fix mistake in variable name in nodeconfig
2018-05-25 10:21:34 -04:00
Jarrod Johnson
675dc966c7
Clean up errors on bad ipv4 addresses
...
confluent errors are better now
2018-05-17 16:24:06 -04:00
Jarrod Johnson
6cba560f6a
Fix nodeconfig handling of general errors
...
nodeconfig was not handling errors in results well, fix this by
refactoring the nodefirmware facility into it.
2018-05-16 11:21:26 -04:00
Jarrod Johnson
3dd86c71fd
Add bmc.hostname to nodeconfig
2018-03-27 16:32:37 -04:00
Jarrod Johnson
94bce2f65b
Unofficially tolerate pasu and own input
...
If someone tries to use this with pasu syntax, try to do the right
thing. Similarly, if trying to paste the same syntax nodeconfig
uses on output, tolerate that as well.
2018-02-08 19:39:39 -05:00
Jarrod Johnson
7dbdf2a6aa
Add ability to exclude settings
...
This permits nodeconfig to prune out less interesting pieces of data
2018-02-07 15:46:08 -05:00
Jarrod Johnson
024d37d633
Add support to show settings detail in nodeconfig
...
settings have lots of text, provide access through '-d' argument
2018-02-06 16:52:13 -05:00
Jarrod Johnson
8ef90a457a
Add comparedefault to nodeconfig command
...
This allows gathering relevant settings that differ from default
2018-02-06 16:31:20 -05:00
Jarrod Johnson
0afd9beeac
Fix nodeconfig error handling
...
Additionally, make more strong effort to sort the data.
2018-02-05 15:23:13 -05:00
Jarrod Johnson
b37ef7e90c
Implement nodeconfig access to system settings
...
First draft
2018-02-02 17:17:02 -05:00
Jarrod Johnson
9d2ec60b50
Set executable bits on various commands
2017-11-14 14:59:37 -05:00
Jarrod Johnson
78dea26d06
Switch glob suppression to detection
...
The suppression was unable to be accomplished for bash without
somehow otherwise breaking the shell. zsh and csh could be better at
one-off glob disabling though.
2017-11-13 11:49:40 -05:00
Jarrod Johnson
21fce4098b
Add ability to list all configuration supported
2017-11-03 10:36:32 -04:00
Jarrod Johnson
8eca6b156b
Automatically request static when setting ip
...
If someone is setting IP address, they are implying static.
Change that implicit reality to explicit statement.
2017-11-03 10:31:00 -04:00
Jarrod Johnson
9f3fe01a49
Evolve the concept, it does not currently work
2017-11-02 17:07:44 -04:00
Jarrod Johnson
de6ecdab38
Start work on nodeconfig command
...
This reworks the client to reuse some bits of nodeattrib, and has
nodeconfig able to read values.
2017-11-01 16:48:17 -04:00