Skip to content

Commit

Permalink
feat: Improve VM creation output
Browse files Browse the repository at this point in the history
- Remove cloud-localds verbose output
- Add "downloading" message

Fixes #66
  • Loading branch information
kevydotvinu committed Aug 9, 2023
1 parent 3c0b412 commit 2edd1d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion ignition/00-core.bu
Original file line number Diff line number Diff line change
Expand Up @@ -3160,7 +3160,8 @@ storage:

sudo rm -rf ${DIRECTORY}
sudo mkdir -p ${DIRECTORY}
sudo cloud-localds -v -m local --network-config=${CLOUDINIT_NETWORK_CONFIG} ${DIRECTORY}/seed.iso ${CLOUDINIT_USER_DATA}
sudo cloud-localds -m local --network-config=${CLOUDINIT_NETWORK_CONFIG} ${DIRECTORY}/seed.iso ${CLOUDINIT_USER_DATA}
echo "Downloading ${VM_NAME} image ..."
sudo curl -#Lo ${DISK} ${IMAGE}

sudo virsh -q destroy ${VM_NAME} > /dev/null || true
Expand Down
Loading

0 comments on commit 2edd1d5

Please sign in to comment.