An open API service indexing awesome lists of open source software.

https://github.com/moe-hacker/rootfstool

A tool to get linux container rootfs from lxc-image mirrors.
https://github.com/moe-hacker/rootfstool

container linux lxc rootfs

Last synced: about 1 year ago
JSON representation

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

Awesome Lists containing this project

README

          

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


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

--------
# Discarded project
Please use [rurima](https://github.com/Moe-hacker/rurima) instead.
## About:
Rootfstool is a tool to get linux container rootfs from Lxc-image mirrors.
## Dependencies:
- gawk
- curl
- wget
## Usage:
```
rootfstool []

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
```
## Thanks to:
[tmoe](https://github.com/2moe/tmoe)
(TMOE, More Optional Environments.)