Jarrod Johnson
3e6b67f9a7
Error if user omits attributes for options
...
If user indicates manipulation of
attributes through -c, -p, or -e,
but none are specified, print an error
instead.
2022-02-14 09:24:15 -05:00
Jarrod Johnson
6f568919e1
Correct instance callout
...
The wrong value was called out
2019-10-23 15:57:16 -04:00
Jarrod Johnson
620263db3e
Add maxnodes argument to potentially risky commands
...
This uses the client maxnodes check to double check. Useful
for clients that want to sanity check unexpectedly large numbers of
nodes.
2019-10-23 14:20:40 -04:00
Jarrod Johnson
44d6bde3ff
Make /usr/bin/env python point to python2
...
Same as before, more RHEL8 compatibility changes
2019-09-23 11:04:52 -04:00
Jarrod Johnson
ba113d6445
Fix various python2-isms
...
This is far from a complete python3 support, but it lets a significant volume
of remote commands run under python3
2019-06-27 15:28:59 -04:00
Jarrod Johnson
f92b1ed4a3
Implement ability to prompt for nodeattrib options.
...
For certain attributes, notably passwords, it is sometimes desirable
to prompt interactively to help facilitate keeping such data out of
bash_history, screen sharing, and ps output. -e enables this if the
user is aware of how to use 'read', -p is a quicker way to enable this.
2018-09-04 09:38:01 -04:00
Jarrod Johnson
c03781c022
Add 'all' to usage message of nodeattrib
2018-07-09 16:49:45 -04:00
Jarrod Johnson
d473d23725
Add ability to specify attribs from environment
...
This is of particular use for passing passwords safely
into nodeattrib/nodegroupattrib.
2018-02-22 09:55:46 -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
444ba917eb
Have node*attrib commands error if user does -c and =
...
Can't clear and assign in one go, error for user awareness.
2017-10-19 10:02:30 -04:00
Jarrod Johnson
e0cc67f57a
Implement Lenovo Thinksystem and discovery support
2017-06-20 14:56:24 -04:00
Allen Lin
43211cf9a7
Updating file permissions on nodegroupattrib and nodeattrib
2017-04-12 10:50:44 -04:00
Allen Lin37
db15992894
Adding nodegroupattrib to update nodegroups
2017-04-12 10:36:27 -04:00
Allen Lin37
cfd8ac4c75
refactoring nodelist and nodeattrib to use common code
2017-04-06 11:30:08 -04:00
Allen Lin37
fd64a2e68c
Fix nodelist and nodeattrib to read attributes in groups
2017-03-03 13:10:29 -05:00
Allen Lin37
16f2a2b1eb
Updated for broken expressions
2017-02-28 13:51:36 -05:00
Allen Lin37
c78b7fa146
Adding nodeattrib to change and update node attributes
2017-02-28 13:42:39 -05:00
Allen Lin37
1b44d2d781
Setting nodeattrib default to show current
2017-02-28 13:42:39 -05:00
Allen Lin37
2d8004000d
Adding nodeattrib to list and update attributes
2017-02-28 13:42:39 -05:00