`rmimage` only remove the files under `rootimgdir=` attribute for the
diskless/netboot image.

`rmdef -t osimage imagename `  should remove the image created by the
`copycds`

what kind of error message did u see when u run `rmdef` command?


Casandra Qiu


...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
[email protected]





From:   Andrew Loftus <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   02/14/2020 01:50 PM
Subject:        [EXTERNAL] Re: [xcat-user] Delete old osimages



No, I didnt' try the -f flag because it didn't seem like the right
approach.

If copycds always creates an "install" image and rmdef doesn't support
removing the "install" image, then "rmosdistro" will never run without the
-f flag. That seems broken to me.

That aside, it seems like rmosdistro with the -f flag did what I expected.

On Fri, Feb 14, 2020 at 11:07 AM Mark Gurevich <[email protected]> wrote:
  Have you tried "rmosdistro -f" to force remove ?

  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



  Inactive hide details for Andrew Loftus ---02/14/2020 12:00:33 PM---Is
  there a way to clean up old osimages (created from copycAndrew Loftus
  ---02/14/2020 12:00:33 PM---Is there a way to clean up old osimages
  (created from copycds)? I tried "rmosdistro" but that fails

  From: Andrew Loftus <[email protected]>
  To: xCAT Users Mailing list <[email protected]>
  Date: 02/14/2020 12:00 PM
  Subject: [EXTERNAL] [xcat-user] Delete old osimages



  Is there a way to clean up old osimages (created from copycds)?

  I tried "rmosdistro" but that fails with the message that it is
  referenced by osimages.

  I tried "rmimage" to remove the osimages but that fails with the message
  that it will only delete certain image files.

  Cheers,
  --Andy_______________________________________________
  xCAT-user mailing list
  [email protected]
  https://lists.sourceforge.net/lists/listinfo/xcat-user


  _______________________________________________
  xCAT-user mailing list
  [email protected]
  
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=PU6QxvdruVN3eMibKaWnyHexHezXNsUPsSXd-hu8FIs&s=JlZNLgF32z5II2KMLNZC-qGOyPeNyLKWiT32XW2Ii8g&e=



_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to