Implement dns validation on site create
This commit is contained in:
@@ -94,7 +94,8 @@ class WOStackController(CementBaseController):
|
||||
if set(WOVariables.wo_mysql).issubset(set(apt_packages)):
|
||||
# add mariadb repository excepted on raspbian and ubuntu 19.04
|
||||
if ((not WOVariables.wo_platform_codename == 'disco') and
|
||||
(not WOVariables.wo_platform_distro == 'raspbian')):
|
||||
(not WOVariables.wo_platform_distro == 'raspbian') and
|
||||
(not WOVariables.wo_platform_codename == 'buster')):
|
||||
Log.info(self, "Adding repository for MySQL, please wait...")
|
||||
mysql_pref = ("Package: *\nPin: origin "
|
||||
"sfo1.mirrors.digitalocean.com"
|
||||
|
||||
Reference in New Issue
Block a user