Kaydet (Commit) c701f13d authored tarafından Hakkı Dizdar's avatar Hakkı Dizdar

Park oluşturmaya Ortam Değişkenleri dahil edildi

üst 5a57a366
......@@ -21,6 +21,13 @@ const start = async (image, res) => {
],
},
},
Env: [
`USERNAME=${req.body.username || "pardus"}`,
`PASSWORD=${req.body.password || "pardus"}`,
`SUDO=${req.body.sudo || true}`,
`SOUND=${req.body.sound || true}`,
`SPICE_PASSWORD=${req.body.spice_password || false}`,
],
},
function (err, container) {
container.start();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment