Add clean to makefile and fix small problem
diff --git a/xos/configurations/devel/Makefile b/xos/configurations/devel/Makefile
index 3ce188b..2b847dd 100644
--- a/xos/configurations/devel/Makefile
+++ b/xos/configurations/devel/Makefile
@@ -20,3 +20,9 @@
enter:
sudo docker exec -t -i $(RUNNING_CONTAINER) bash
+
+clean:
+ /proj/xos-PG0/acb/cleanup.sh
+ sudo docker stop $(docker ps -a -q)
+ sudo docker rm $(docker ps -a -q)
+ sudo docker rmi $(docker images -f "dangling=true" -q)
diff --git a/xos/vpn/admin.py b/xos/vpn/admin.py
index 9d6f6ee..4010e0f 100644
--- a/xos/vpn/admin.py
+++ b/xos/vpn/admin.py
@@ -66,7 +66,6 @@
def save(self, commit=True):
self.instance.creator = self.cleaned_data.get("creator")
- self.instance.server_key = self.cleaned_data.get("server_key")
return super(VPNTenantForm, self).save(commit=commit)
class Meta: