containerlab icon indicating copy to clipboard operation
containerlab copied to clipboard

No prompt for the user on destroying all topologies

Open noredistribution opened this issue 1 year ago • 2 comments

in a shared environment where multiple users deployed topologies if someone runs by mistake clab destroy -a instead of just clab destroy it'll destroy everyone's lab, it'd be nice if there was a prompt and warning that this is going to happen (this cannot be stopped either as by the time you'd hit ctrl+C it already removes bunch of containers)

noredistribution avatar Feb 24 '25 14:02 noredistribution

Hi @noredistribution in your case do different users of a shared compute operate under different linux users or the same one?

hellt avatar Feb 24 '25 19:02 hellt

@hellt we have both! but the goal is to move to different users on the same host, I checked now and can see others's topologies with my user

noredistribution avatar Feb 24 '25 22:02 noredistribution

@hellt thanks a lot, it works well!

noredistribution avatar Jul 29 '25 10:07 noredistribution