"Xe name-label로 uuid 찾기"의 두 판 사이의 차이

7번째 줄: 7번째 줄:
<source lang='dos'>
<source lang='dos'>
[root@xen01 ~]# xe vm-list name-label=test-vm-01 | head -1 | awk '{print $NF}'
[root@xen01 ~]# xe vm-list name-label=test-vm-01 | head -1 | awk '{print $NF}'
5ac79a13-e468-0f2f-3c5a-7912db4ec680
5ac79e13-f468-0b2d-3e5a-7912ce4fb680
</source>
</source>



2013년 8월 1일 (목) 10:10 판

1 명령어

xe vm-list name-label=네임레이블 | head -1 | awk '{print $NF}'

2 실행예시

[root@xen01 ~]# xe vm-list name-label=test-vm-01 | head -1 | awk '{print $NF}'
5ac79e13-f468-0b2d-3e5a-7912ce4fb680

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}