Skip to content

Commit

Permalink
support install tar.zst and tar.xz
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk7 committed May 6, 2024
1 parent 831c3f3 commit a55cd97
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ import (
)

var (
defaultRootFiles = []string{"install.tar", "install.tar.gz", "rootfs.tar", "rootfs.tar.gz", "install.ext4.vhdx", "install.ext4.vhdx.gz"}
defaultRootFiles = []string{
"install.tar",
"install.tar.gz",
"install.tgz",
"install.tar.zst",
"install.tar.xz",
"rootfs.tar",
"rootfs.tar.gz",
"rootfs.tgz",
"rootfs.tar.zst",
"rootfs.tar.xz",
"install.ext4.vhdx",
"install.ext4.vhdx.gz",
}
)

//Install installs distribution with default rootfs file names
Expand Down

0 comments on commit a55cd97

Please sign in to comment.