provision: add ipv6 config

This commit is contained in:
Girish Ramakrishnan
2024-04-25 19:33:04 +02:00
parent 017e46fa0f
commit 2f425f8119
7 changed files with 79 additions and 38 deletions

View File

@@ -1512,16 +1512,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout
});
};
Client.prototype.restore = function (backupConfig, remotePath, version, ipv4Config, skipDnsSetup, setupToken, callback) {
var data = {
backupConfig: backupConfig,
remotePath: remotePath,
version: version,
ipv4Config: ipv4Config,
skipDnsSetup: skipDnsSetup,
setupToken: setupToken
};
Client.prototype.restore = function (data, callback) {
post('/api/v1/provision/restore', data, null, function (error, data, status) {
if (error) return callback(error);
if (status !== 200) return callback(new ClientError(status));