GoogleCloudPlatform/compute-image-tools

importing process interrupted when `/etc/netplan` contains subdirectory (Ubuntu 18+)

sio4 opened this issue · 1 comments

sio4 commented

The below line fails and interrupts the importing process if there is a subdirectory in /etc/netplan. Yeah, as you imagine, the error will be something like "error: rm: cannot remove '/etc/netplan/backups': Is a directory". (Normally there is no directory but sometimes users have a directory for backup.)

I am working on a quick fix.

Condition: Ubuntu 18+

sio4 commented

The fix was merged into the main, closing this issue.