Skip to content

Commit

Permalink
Merge pull request #3121 from threefoldtech/development_2.5.1_ubuntu24.4
Browse files Browse the repository at this point in the history
Using the solution disk size as rootfs in case the disk was dropped
  • Loading branch information
maayarosama authored Jul 15, 2024
2 parents 4d1c314 + baaa6ef commit 25df38e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/playground/src/weblets/full_vm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,10 @@ async function deploy() {
planetary: planetary.value,
mycelium: mycelium.value,
envs: [{ key: "SSH_KEY", value: selectedSSHKeys.value }],
rootFilesystemSize,
rootFilesystemSize:
flist.value?.name === "Ubuntu-24.04" || flist.value?.name === "Other"
? solution.value?.disk
: rootFilesystemSize,
hasGPU: hasGPU.value,
nodeId: selectionDetails.value?.node?.nodeId,
gpus: hasGPU.value ? selectionDetails.value?.gpuCards.map(card => card.id) : undefined,
Expand Down

0 comments on commit 25df38e

Please sign in to comment.