restore: skipDnsSetup flag
This commit is contained in:
@@ -40,6 +40,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
|
||||
$scope.password = '';
|
||||
$scope.encrypted = false; // only used if a backup config contains that flag
|
||||
$scope.setupToken = '';
|
||||
$scope.skipDnsSetup = false;
|
||||
|
||||
$scope.sysinfo = {
|
||||
provider: 'generic',
|
||||
@@ -274,7 +275,7 @@ app.controller('RestoreController', ['$scope', 'Client', function ($scope, Clien
|
||||
sysinfoConfig.ifname = $scope.sysinfo.ifname;
|
||||
}
|
||||
|
||||
Client.restore(backupConfig, $scope.backupId.replace(/\.tar\.gz(\.enc)?$/, ''), version ? version[1] : '', sysinfoConfig, function (error) {
|
||||
Client.restore(backupConfig, $scope.backupId.replace(/\.tar\.gz(\.enc)?$/, ''), version ? version[1] : '', sysinfoConfig, $scope.skipDnsSetup, function (error) {
|
||||
$scope.busy = false;
|
||||
|
||||
if (error) {
|
||||
|
||||
Reference in New Issue
Block a user