Skip to content

Commit c3f8643

Browse files
Merge pull request #925 from booxter/cleanup-ipv6-lab-dir
clean up IPv6 Lab work directory
2 parents 1adbc5b + 713437b commit c3f8643

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

devsetup/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ ipv6_lab_cleanup: ## Deploys IPv6 lab environment
300300
make ipv6_lab_nat64_router_cleanup
301301
make ipv6_lab_network_cleanup
302302

303+
# some files in the work directory can get obsolete after a short time
304+
# and break further deployment attempts
305+
rm -rf ${IPV6_LAB_WORK_DIR}
306+
303307
##@ Attach interface
304308

305309
.PHONY: attach_default_interface

devsetup/scripts/ipv6-nat64/network.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function build_dnsmasq {
101101
git clone http://thekelleys.org.uk/git/dnsmasq.git
102102
pushd ./dnsmasq
103103
make
104-
sudo make install PREFIX=${WORK_DIR}
104+
make install PREFIX=${WORK_DIR}
105105
# Set selinux context to bin_t
106106
sudo chcon -t bin_t ${WORK_DIR}/sbin/dnsmasq
107107
popd

0 commit comments

Comments
 (0)