• Stars
    star
    218
  • Rank 181,805 (Top 4 %)
  • Language
    Shell
  • License
    GNU General Publi...
  • Created about 7 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Linux Deploy CLI

Linux Deploy CLI

Copyright (C) 2015-2019 Anton Skshidlevsky, GPLv3

A command line application for installing and running GNU/Linux distributions in the chroot environment.

Dependencies

Usage

Main help:

USAGE:
   cli.sh [OPTIONS] COMMAND ...

OPTIONS:
   -p NAME - configuration profile
   -d - enable debug mode
   -t - enable trace mode

COMMANDS:
   config [...] [PARAMETERS] [NAME ...] - configuration management
      - without parameters displays a list of configurations
      -r - remove the current configuration
      -i FILE - import the configuration
      -x - dump of the current configuration
      -l - list of dependencies for the specified or are connected components
      -a - list of all components without check compatibility
   deploy [...] [PARAMETERS] [-n NAME] [NAME ...] - install the distribution and included components
      -m - mount the container before deployment
      -i - install without configure
      -c - configure without install
      -n NAME - skip installation of this component
   import FILE|URL - import a rootfs into the current container from archive (tgz, tbz2 or txz)
   export FILE - export the current container as a rootfs archive (tgz, tbz2 or txz)
   shell [-u USER] [COMMAND] - execute the specified command in the container, by default /bin/bash
      -u USER - switch to the specified user
   mount - mount the container
   umount - unmount the container
   start [-m] [NAME ...] - start all included or only specified components
      -m - mount the container before start
   stop [-u] [NAME ...] - stop all included or only specified components
      -u - unmount the container after stop
   status [NAME ...] - display the status of the container and components
   help [NAME ...] - show this help or help of components

Help for the parameters of the main components:

   --distrib="debian"
     The code name of Linux distribution, which will be installed. Supported "debian", "ubuntu", "kali", "fedora", "centos", "archlinux", "slackware", "apline".

   --target-type="file"
     The container deployment type, can specify "file", "directory", "partition", "ram" or "custom".

   --target-path="/path/to/debian_x86.img"
     Installation path depends on the type of deployment.

   --disk-size="2000"
     Image file size when selected type of deployment "file". Zero means the automatic selection of the image size.

   --fs-type="ext4"
     File system that will be created inside a image file or on a partition. Supported "ext2", "ext3" or "ext4"

   --arch="i386"
     Architecture of Linux distribution, supported "armel", "armhf", "arm64", "i386" and "amd64".

   --suite="stretch"
     Version of Linux distribution, supported versions "jessie", "stretch" and "buster" (also can be used "stable", "testing", "unstable" or "oldstable").

   --source-path="http://ftp.debian.org/debian/"
     Installation source, can specify address of the repository or path to the rootfs archive.

   --extra-packages=""
     List of optional installation packages, separated by spaces.

   --method="chroot"
     Containerization method "chroot" or "proot".

   --chroot-dir="/mnt"
     Mount directory of the container for containerization method "chroot".

   --emulator="qemu-i386-static"
     Specify which to use the emulator, by default QEMU.

   --mounts="/path/to/source:/path/to/target"
     Mounts resources to the container as "SOURCE:TARGET" separated by a space.

   --dns="auto"
     IP-address of DNS server, can specify multiple addresses separated by a space.

   --net-trigger=""
     Path to a script inside the container to process changes the network.

   --locale="C"
     Localization, e.g. "en_US.UTF-8".

   --user-name="android"
     Username that will be created in the container.

   --user-password="changeme"
     Password will be assigned to the specified user.

   --privileged-users="android:aid_inet android:aid_media_rw"
     A list of users in a format UID:GID separated by a space to be added UID to GID.

Links

More Repositories

1

linuxdeploy

Install and run GNU/Linux on Android
Java
4,756
star
2

busybox

BusyBox for Android
Java
1,202
star
3

avd-root

Root permissions for Android Virtual Devices
Shell
119
star
4

wshell

Web-based terminal emulator for Android
Java
59
star
5

websocket.sh

The cross platform WebSocket implementation for UNIX shell
Shell
55
star
6

keystorebreaker

Password guessing to Java keystore
Java
38
star
7

ITMOproctor

System of distant supervision | Система дистанционного надзора
JavaScript
35
star
8

aspng

A library for encoding/decoding data in PNG with compression
JavaScript
19
star
9

tzupdater

Automatic update of time zones on Android
Java
18
star
10

meefik.github.io

Meefik's Blog
HTML
15
star
11

face-alignment

Face detection and alignment
JavaScript
14
star
12

dtmf.js

DTMF Tone Generator and Receiver
JavaScript
11
star
13

picojs

A library for detecting faces using the PICO algorithm
C
10
star
14

piggy

Piggy .js & .sh
JavaScript
9
star
15

libux

A minimalistic UX framework for JavaScript libraries
JavaScript
9
star
16

jquery-easyui

jQuery EasyUI library from www.jeasyui.com
CSS
9
star
17

microscope

The software for Android to access the microscope Expert produced by "LOMO" | Программа под Android для доступа к функциям микроскопа Эксперт производства АО "ЛОМО"
C
8
star
18

semanticNT

Сетевой проект разработки системы открытого онлайн-обучения НИУ ИТМО
JavaScript
7
star
19

xorg-input-mtev

Touch Screen Driver Hardware Adaptation
C
6
star
20

nop-virus

Computer virus research
Assembly
6
star
21

spyjs

Сбор и анализ статистики работы пользователей с веб-приложением
JavaScript
6
star
22

opencv_facemark

Training 5 points model for OpenCV Facemark API
C++
6
star
23

neux

A frontend micro-library with reactivity states and views
JavaScript
5
star
24

java-examples

Code examples in Java
Java
4
star
25

passport-ifmosso

Passport strategy for authenticating using ITMO University account
JavaScript
3
star
26

classman

San Ray terminal management software
Java
3
star
27

keychain

Forever blinking keychain | Вечно мигающий брелок
3
star
28

jcut

Track changes in a directory
Java
2
star
29

fastfinder

Auto parts search engine
JavaScript
2
star
30

varikard

Heart rate variability
JavaScript
2
star
31

invest-openapi-bot

Tinkoff.Invest trading bot
JavaScript
1
star
32

neux-todo-app

To-Do app with NEUX and Tailwind CSS
JavaScript
1
star
33

anyend

Platform to speed up backend creation
JavaScript
1
star
34

neux-demo

Development demo with Neux
JavaScript
1
star
35

blehr

Collecting data from heart monitors via Bluetooth
JavaScript
1
star
36

invest-openapi-sandbox

Tinkoff.Invest sandbox server
JavaScript
1
star
37

medinfo

Workplace for an operator of a call center | Рабочее место оператора колл-центра
JavaScript
1
star