Skip to content

Conversation

@sgsullivan
Copy link
Contributor

ssullivan@data2 ~ $ lw cloud server destroy --uniq-id=U3J8ZP,PDJ8ZP 
DANGER! This will destroy ALL Cloud Servers listed below:

        uniq_id: U3J8ZP hostname: geey.m2z5wyh924.io
        uniq_id: PDJ8ZP hostname: 5jr0.32e44iv41n.io

Tip: Avoid future confirmations by passing --force

This is a destructive operation. Continue? > yes
destroyed: U3J8ZP (geey.m2z5wyh924.io)
destroyed: PDJ8ZP (5jr0.32e44iv41n.io)
ssullivan@data2 ~ $ lw cloud server create --config-id 31 --template DEBIAN_10_UNMANAGED --zone 40460
Cloud server with uniq-id [L50LSH] creating. Check status with 'cloud server status --uniq-id L50LSH'
ssullivan@data2 ~ $ lw cloud server create --config-id 31 --template DEBIAN_10_UNMANAGED --zone 40460
Cloud server with uniq-id [LWTSWE] creating. Check status with 'cloud server status --uniq-id LWTSWE'
ssullivan@data2 ~ $ lw cloud server destroy --uniq-id L50LSH,LWTSWE --force 
destroyed: L50LSH
destroyed: LWTSWE
ssullivan@data2 ~ $ 

@sgsullivan sgsullivan merged commit 20e7095 into master Oct 13, 2020
@sgsullivan sgsullivan deleted the cloud-server-destroy-confirmation-2 branch October 13, 2020 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants