Skip to content

Update xCAT bindings example, to prevent lsdef from gobbling stdin #580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions conf/groups.conf.d/xcat.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
[xcat]

# list the nodes in the specified node group
map: lsdef -s -t node "$GROUP" | cut -d' ' -f1
map: lsdef -s -t node "$GROUP" </dev/null | cut -d' ' -f1

# list all the nodes defined in the xCAT tables
all: lsdef -s -t node | cut -d' ' -f1
all: lsdef -s -t node </dev/null | cut -d' ' -f1

# list all groups
list: lsdef -t group | cut -d' ' -f1
list: lsdef -t group </dev/null | cut -d' ' -f1
Loading