On box python requires the configuration of a special Application Environment that will support the deployment of Linux (LXC) Containers. In this video we will deploy a well known LXC container called "guestshell" and demonstrate how to interact with it and provide it access to extraneous network resources in our lab environment.
en
configure terminal
#####################################
enable the IOx Application Environment ##
#####################################
iox
################################################################
Configure the guestshell LXC container and assign network information ###
################################################################
app-hosting appid guestshell
app-vnic gateway1 virtualportgroup 0 guest-interface 0
guest-ipaddress 192.168.1.2 netmask 255.255.255.0
exit
app-default-gateway 192.168.255.1 guest-interface 0
name-server0 8.8.8.8
#############################
Create the VirtualPortGroup ###
#############################
interface VirtualPortGroup0
ip address 192.168.1.1 255.255.255.0
no shut
end
###############################
Instantiate the LXC Container ###
###############################
guestshell enable
EASY PEASY!!!! :D