-
Notifications
You must be signed in to change notification settings - Fork 684
Command line usage
srakitnican edited this page May 9, 2017
·
2 revisions
Linuxdeploy script can be found under /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy
. Without any parameters, script will print out help. Script can be used to do almost everything that can be done from Android GUI. Configuration files can be found under /data/data/ru.meefik.linuxdeploy/env/config/
which can be edited from command line using vi
.
Some basic usage to start container from command line. To list all configurations available:
# /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy config
centos centos armhfp 7 bootstrap extra/ssh init
fedora fedora armhfp 24 bootstrap desktop extra/ssh gr
First column devotes configuration name, other columns signifies some parameters used to create the container. With configuration name it is possible to start the container assuming it was already set up previously.
# /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy -p centos start -m
Mounting partitions:
/ ... done
/proc ... done
/sys ... done
/dev ... done
/dev/pts ... done
/dev/shm ... done
:: Mounting partitions:
/ ... skip
:: Configuring core/mnt ...
:: Configuring core/net ...
:: Starting extra/ssh ... done
:: Starting init/run-parts:
rc.local ... done