Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CubeMaster/pkg/templatecenter/template_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -2005,7 +2005,8 @@ func artifactWorkRootDir() string {
if value := strings.TrimSpace(os.Getenv("CUBEMASTER_ROOTFS_ARTIFACT_DIR")); value != "" {
return value
}
return filepath.Join(os.TempDir(), "cubemaster-rootfs-artifacts")
storeRoot := artifactStoreRootDir()
return filepath.Join(storeRoot, "tmp", "cubemaster-rootfs-artifacts")
}

func artifactStoreRootDir() string {
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,8 @@ Cube Sandbox requires an x86_64 Linux environment with KVM support — **WSL 2**
> - **Windows users**: run `wsl --install` in an admin PowerShell to set up WSL 2 (requires Windows 11 22H2+, with nested virtualization enabled in BIOS / WSL).
> - **Bare-metal / physical machine users**: grab an x86_64 Linux physical machine, or rent a bare-metal server from a cloud provider.
> - **Ordinary cloud VM users**: no bare-metal required — install the PVM host kernel to enable KVM on any standard cloud VM. See [PVM Deployment](./docs/guide/pvm-deploy.md).
>
> **NOTE on storage**: Ensure the partition hosting the CubeMaster storage directory (usually `/data`) has at least 20GB of free space for template creation.

Once your environment is ready, launch your first sandbox in four steps:

Expand Down
Loading