#FAQ
By default Photon does not permit root login to ssh. To make yourself login as root using
SSH set PermitRootLogin yes
in /etc/ssh/sshd_config, and restart the sshd deamon.
netstat is deprecated, ss or ip (part of iproute2) should be used instead.
tdnf is default package manager to install new packages.
Example:
tdnf install vim
Assuming you have the Ubuntu development environment setup and got the latest code pull into /workspace. Lets assume your package name is foo with version 1.0.
cp foo-1.0.tar.gz /workspace/photon/SOURCES
cp foo.spec /workspace/photon/SPECS/foo/
cd /workspace/photon/support/package-builder
sudo python ./build_package.py -i foo
Make sure the docker daemon is running, which by design is not started at boot time.
Micro is the smallest version of Photon, under 220MB (as of 03/30) to be used as base for customization.
Minimal is Micro plus Docker and Cloud-init packages.
Full contains all the packages shipped with ISO.
We have nano
installed by default for file editing in Minimal. Use tdnf
to install vim
.
We are working on supporting some standard options. Currently we recommend using sshfs for file sharing between hosts and Photon.