Blogs

Showing 7 results.
Items per Page 20
of 1

Forums

« Back to Technical Questions

How to get console access to my application

Combination View Flat View Tree View
Threads [ Previous | Next ]
What needs to be done to obtain a shell prompt within my application?

Access the guest OS shell for your third party application by typing '''app-service system <app_name>''' . If you've configured your system for shell access you will see the command 'linux' or 'connect'. Depending on the available command, type either '''linux shell''' or '''connect console''', and you will then be placed into the guest OS shell. If you do not see this command, follow one of the procedures listed below.
There are two procedures that you can follow to get console access to your third party application. Choose and follow one of them.
1. Assuming that this package has been made available, when you are packaging your application you must specify the app_debug package as a dependency. If properly configured your third party application will have console access to the guest OS shell via the command '''linux shell'''.
2. Before installing your third party guest application, create a post install script. In the script create a soft link to /bin/bash and name it /bin/console.
Your post installation script should look like the following:
#! /bin/sh
ln -s /bin/bash /bin/console
When you create your package for the application be sure to reference this post install script. Make sure your script owner has at least read-execute permissions. If properly configured, your third party application will have console access to its guest OS shell via the command '''connect console'''.

Collateral


No files available