Hi Daniel,
Currently, "rmimage" does not support delete diskful osimages, this is because other osimages might rely on the `pkgdir` of the diskful osimage, such as the diskless/statelite osimages with the same `pkgdr`.
Back to your question, the command combination of `rmdef -t osimage -o <osimage-to-del>` and `rmosdistro [-f] <osdistro-to-del>` might be what you want, `<osdistro-to-del>` can be obtained by `lsdef -t osimage -o <osimage-to-del> -i osdistroname`.
------------------------------------------------------------------------------
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: [email protected]
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
YANG Song (杨嵩)
IBM China System Technology Laboratory
Tel: 86-10-82452903
Email: [email protected]
Address: Building 28, ZhongGuanCun Software Park,
No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC
北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193
----- Original message -----
From: "Bin XA Xu" <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [xcat-user] How to remove statefull images from disk and xcat databases?
Date: Wed, Jun 20, 2018 11:32 AM
It seems there is no good method to remove all files of an stateful osimage, @immarvin, do you have any comments?Bin XuHPC Software Development
Software Defined Infrastructure, IBM SystemsPhone: 86-010-82454067E-mail: [email protected]----- Original message -----
From: Daniel Hilst Selli <[email protected]>
To: xCAT Users Mailing list <[email protected]>
Cc:
Subject: [xcat-user] How to remove statefull images from disk and xcat databases?
Date: Thu, Jun 14, 2018 2:14 AM
I know that rmimage can remove stateless and statelite images, but how can I
fully remove (from filesystem and xcat databases) statefull images?
Regards,
------------------------------------------------------------------------------
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
