Skip to content

A tool to get linux container rootfs from lxc-image mirrors.

License

Notifications You must be signed in to change notification settings

Moe-hacker/rootfstool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

「その木漏れ日でうたた寝したら

虫の死骸と土になれるかな」


About:

Rootfstool is a tool to get linux container rootfs from Lxc-image mirrors.

Dependencies:

  • gawk
  • curl
  • wget

Usage:

rootfstool <command> [<args>]

Commands:
  version,v    #Show version info
  help,h       #Show helps
  list,l       #List all distros
  mirrorlist,m #List mirrors
  search,s     #Search available versions of distro
  url,u        #Get rootfs download link
  download,d   #Download rootfs as rootfs.tar.xz
  exec,e       #Exec a built-in function *Only for developer

Args:
--distro,-d    #Specify os distro
--arch,-a      #Specify cpu architecture
--version,-v   #Specify distro version
--mirror,-m    #Specify the mirror, available mirrors are: main bfsu tuna nju iscas

Some examples:
List available arm64 OS distros

rootfstool list -a arm64 -m bfsu

Search available versions of Ubuntu arm64

rootfstool search -a arm64 -d ubuntu -m bfsu

Get rootfs download link of Ubuntu bionic arm64

rootfstool url -a arm64 -d ubuntu -v bionic -m bfsu

Contributing:

See :

 Contributing 

Thanks to:

tmoe
(TMOE, More Optional Environments.)

About

A tool to get linux container rootfs from lxc-image mirrors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published