Save set image to database
This commit is contained in:
parent
a2fc511e7e
commit
c347a6756c
2 changed files with 2 additions and 0 deletions
|
@ -242,6 +242,7 @@ class ServerRepository
|
|||
'option' => $data['option'],
|
||||
'startup' => $data['startup'],
|
||||
'daemonSecret' => $uuid->generate('servers', 'daemonSecret'),
|
||||
'image' => (isset($data['custom_image_name'])) ? $data['custom_image_name'] : $option->docker_image,
|
||||
'username' => $this->generateSFTPUsername($data['name']),
|
||||
'sftp_password' => Crypt::encrypt('not set')
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue