Home > other >  It is combined command to do
It is combined command to do

Time:09-15

Through a command to get the mirror list information combination, the combined command contains:
1, use the curl command to get the mirror list information;
2, the use of it related command to get the token value;
3, just use the awk command and use "|" as a delimiter access token specific parameter values

CodePudding user response:

Curl - I - H "X - Auth - Token: ` it Token issue | awk -f '|' '/id/{print $3}' `" http://controller:9292/v2/images
  • Related