These are chat archives for azukiapp/azk

16th
Aug 2015
Gullit Miranda
@gullitmiranda
Aug 16 2015 00:56
The azk info show some information, among them the path inside the VM. This path you need?
Slobodan Mišković
@slobo
Aug 16 2015 00:57
ah, yes, perfect.
Gullit Miranda
@gullitmiranda
Aug 16 2015 00:58
nice :D
Slobodan Mišković
@slobo
Aug 16 2015 00:58
i need it to enable automatic cleanup of staging sites.
Gullit Miranda
@gullitmiranda
Aug 16 2015 01:02
We talk about it this week, a command to clear all persistent and sync:
azk info | grep -e '\(sync_folders\|persistent_folders\)' | awk -F ':' '{ print $2 }' | xargs sudo rm -Rf
Slobodan Mišković
@slobo
Aug 16 2015 01:02
in my case, manifest_id is all I need, i can then do azk stop; rm -rf ~/.azk/data/persistent_folders/$manifest_id
Gullit Miranda
@gullitmiranda
Aug 16 2015 01:02
cool
Slobodan Mišković
@slobo
Aug 16 2015 01:07
but adding something like persistent_dirs_root: to azk info would be nice too so that custom tooling doesn't break should you move it out of .azk/data/persistent_folders
the command you provided would keep working with changes in root, but not if reference to persistent folder was removed from Azkfile - i don't think azk info would show it any more, right?
Gullit Miranda
@gullitmiranda
Aug 16 2015 01:21
yes, if not open a issue yet for this is noted, because we already have some ideas of how you can work :D