Merge ~andreserl/maas:lp1792965_clean_dhcp_rundir into maas:master

Proposed by Andres Rodriguez
Status: Merged
Approved by: Andres Rodriguez
Approved revision: d0c5b69b94ae813be31d4007af87f5325bc23acf
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~andreserl/maas:lp1792965_clean_dhcp_rundir
Merge into: maas:master
Diff against target: 11 lines (+1/-0)
1 file modified
debian/maas-dhcp.postrm (+1/-0)
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Jason Hobbs (community) Approve
MAAS Lander unittests Pending
Review via email: mp+364836@code.launchpad.net

Commit message

LP: #1792965 - Clean dhcp run dir on purge

To post a comment you must log in.
Revision history for this message
Jason Hobbs (jason-hobbs) :
review: Approve
Revision history for this message
Andres Rodriguez (andreserl) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/maas-dhcp.postrm b/debian/maas-dhcp.postrm
2index 804a461..a485c73 100644
3--- a/debian/maas-dhcp.postrm
4+++ b/debian/maas-dhcp.postrm
5@@ -10,6 +10,7 @@ if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
6 fi
7 if [ "$1" = "purge" ]; then
8 rm -rf /var/lib/maas/dhcp
9+ rm -rf /run/maas/dhcp
10 fi
11 fi
12

Subscribers

People subscribed via source and target branches