Test The Custom Container File - Digi IX20-WAG4 User Manual

Table of Contents

Advertisement

Containers

Test the custom container file

1. Add the new container to your IX20 device:
i. Log into the IX20 WebUI as a user with Admin access.
ii. From the main menu, click Status. Under Services, click Containers.
iii. Click Upload New Container.
iv. From your local file system, select the container file.
You can download a simple example container file, test_lxc.tgz, from the Digi website.
v. Create Configuration is selected by default. This will create a configuration on the
device for the container when it is installed. If deselected, you will need to create the
configuration manually.
vi. Click Apply.
2. Log into the IX20 command line as a user with shell access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type shell to access the device shell.
3. At the shell prompt, type:
# lxc python_lxc
lxc #
4. Execute the python command:
lxc # python /etc/test.py
Hello world.
lxc #
IX20 User Guide
Create a custom container
684

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix20

Table of Contents