do not need to POST to /meta/client_variant any more
This commit is contained in:
parent
8c83ad05cc
commit
6fd5eb6ee9
|
@ -83,7 +83,7 @@ class SubiquityClient(TuiApplication):
|
||||||
|
|
||||||
snapd_socket_path = '/run/snapd.socket'
|
snapd_socket_path = '/run/snapd.socket'
|
||||||
|
|
||||||
variant = "server"
|
variant = None
|
||||||
cmdline = ['snap', 'run', 'subiquity']
|
cmdline = ['snap', 'run', 'subiquity']
|
||||||
dryrun_cmdline_module = 'subiquity.cmd.tui'
|
dryrun_cmdline_module = 'subiquity.cmd.tui'
|
||||||
|
|
||||||
|
@ -444,6 +444,7 @@ class SubiquityClient(TuiApplication):
|
||||||
endpoint_names.append(c.endpoint_name)
|
endpoint_names.append(c.endpoint_name)
|
||||||
if endpoint_names:
|
if endpoint_names:
|
||||||
await self.client.meta.mark_configured.POST(endpoint_names)
|
await self.client.meta.mark_configured.POST(endpoint_names)
|
||||||
|
if self.variant:
|
||||||
await self.client.meta.client_variant.POST(self.variant)
|
await self.client.meta.client_variant.POST(self.variant)
|
||||||
self.controllers.index = index - 1
|
self.controllers.index = index - 1
|
||||||
self.next_screen()
|
self.next_screen()
|
||||||
|
|
Loading…
Reference in New Issue