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.
- Host: GitHub
- URL: https://github.com/moe-hacker/rootfstool
- Owner: Moe-hacker
- License: apache-2.0
- Archived: true
- Created: 2023-07-06T03:56:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-11T23:40:39.000Z (over 1 year ago)
- Last Synced: 2025-02-01T12:08:47.161Z (over 1 year ago)
- Topics: container, linux, lxc, rootfs
- Language: Shell
- Homepage:
- Size: 65.4 KB
- Stars: 12
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
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.)