Perhaps we should put aliases for all the non-file related commands in
profile.d? For example:
[root@odin ~]# touch n1
[root@odin ~]# nodeset n[1,2] shell
n1: shell
Well whoops, but.... then if we:
[root@odin ~]# alias nodeset='set -f;nodeset';nodeset(){ command nodeset
"$@";set +f;}
[root@odin ~]# nodeset n[1,2] shell
n1: shell
n2: shell
-----Original Message-----
From: Christopher J. Walker [mailto:[email protected]]
Sent: Thursday, June 22, 2017 2:43 PM
To: [email protected]
Subject: Re: [xcat-user] bash expansions and node ranges
On 22/06/17 04:29, Victor Hu wrote:
> Hi Chris,
>
> Could you open it issue for this here? :
> https://github.com/xcat2/xcat-core/issues/
> Would be better to track the debug conversation and a fix if needed.
https://github.com/xcat2/xcat-core/issues/3319
Chris
>
> Thanks,
> Victor
>
>
>
>
>
>
> ----- Original message -----
> From: "Mark Gurevich" <[email protected]>
> To: xCAT Users Mailing list <[email protected]>
> Cc:
> Subject: Re: [xcat-user] bash expansions and node ranges
> Date: Wed, Jun 21, 2017 10:05 PM
>
> Chris,
>
> Interesting find.
> What do you see when you run "nodels dn[22-23]" ?
>
> Mark Gurevich
> Poughkeepsie Development Lab
> HPC Software Development - xCAT
>
> "If we knew what it was we were doing, it would not be called
> research, would it?"
> --Albert Einstein
>
>
>
>
>
> From: "Christopher J. Walker" <[email protected]>
> To: "[email protected]"
> <[email protected]>
> Date: 06/21/2017 05:26 PM
> Subject: [xcat-user] bash expansions and node ranges
>
> ----------------------------------------------------------------------
> --
>
>
>
> Having just tried to reprovision two nodes (dn22 and dn23), I've
> reprovisioned dn2 instead.
>
> The command I ran was:
>
> [[email protected] consoles]# rinstall dn[22-23]
> --osimage="apocrita-centos7.3-x86_64-install-compute" -u
> Provision node(s): dn2
>
> Needless to say, this hasn't been popular with the user running jobs on
> the node. This of course would work correctly with differently named
> files in the directory.
>
>
> Perhaps
>
> http://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/referenc
> es/man3/noderange.3.html
>
> could warn about the necessity of quoting these on the command line (and
> even better give an example).
>
> Chris
>
> --
> Dr Christopher J. Walker
> ITS Research
> Queen Mary University of London, E1 4NS
> +44 20 7882 5969
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>
>
>
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
>
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
--
Dr Christopher J. Walker
ITS Research
Queen Mary University of London, E1 4NS
+44 20 7882 5969
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user