diff options
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index 0746a06..816285e 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -1008,7 +1008,7 @@ setup|update) | |||
1008 | 1008 | ||
1009 | # Make the host systems os version our target version | 1009 | # Make the host systems os version our target version |
1010 | # Users can override this by setting the UNAME_r environment variable | 1010 | # Users can override this by setting the UNAME_r environment variable |
1011 | ezjail_osversion_target="`uname -r`" | 1011 | ezjail_osversion_target="`uname -r | sed -E 's,-p[0-9]+,,' | sed -E 's,-SECURITY,-RELEASE,'`" |
1012 | 1012 | ||
1013 | # Finally run freebsd-update to upgrade our basejail | 1013 | # Finally run freebsd-update to upgrade our basejail |
1014 | for DESTDIR in ${ezjail_jailbase} ${ezjail_jailtemplate}; do | 1014 | for DESTDIR in ${ezjail_jailbase} ${ezjail_jailtemplate}; do |