diff --git a/helpers/make-netcfg b/helpers/make-netcfg
index 90ce92c023218d67bf7a69f0a90938d6da012d5c..2b1dbcc70af0bd9301e4ecd18c35404822c7ff1a 100644
--- a/helpers/make-netcfg
+++ b/helpers/make-netcfg
@@ -18,11 +18,13 @@
 #
 
 VERSION=1
+EXTERNAL='deb-src http://ftp.debian.org/debian stable main'
+REPOKEY=648ACFD622F3D138
 NETINST=true
 . ./config
 
-rpl "Default: ubuntu" "Default: trisquel" . -R
-sed -i 's/ubuntu/trisquel/g' netcfg-common.c
+rpl "Default: debian" "Default: trisquel" . -R
+sed -i '/client, template,/s/debian/trisquel/g' netcfg-common.c
 
 changelog "Rebranded and adapted for Trisquel"
 compile