homehowtokbslinksaboutcontactprojectsmusic

Index > Knowledge Base > Fog 1.2
make progress bar solid/block
nano /var/www/fog/management/css/fog.css
.with-progress td { border: 0; }
.task-progress-td { color: #fff; padding: 0; font-size: 10px; line-height: 17px; text-align: center; height: 25px; background: #6f9dcf; }
.task-progress-td.min { height: 25px; }
.task-progress-fill { background: #5CDB65; position: absolute; z-index: 9; width: 300px; height: 25px; }
.task-progress-fill.min { height: 25px; }
.task-progress { height: 100%; }
.task-progress ul { margin: 5px; padding: 0; position: absolute; z-index: 10; width: 600px; height: 17px; display: block; cursor: default; }
.task-progress ul li { float: left; width: 33%; display: block; height: 18px; }
Uncompress init.xz
cd /var/www/fog/service/ipxe
mkdir -p mnt
xz --decompress init.xz
mount -o loop init mnt
add nano in above image
cp -frv /bin/nano mnt/bin/
cp -frv /usr/bin/nano mnt/usr/bin/
cp -frv /usr/share/nano mnt/usr/share/
cp -frv /lib/x86_64-linux-gnu/{libncursesw.so.5,libtinfo.so.5,libncursesw.so.5.9,libtinfo.so.5.9} mnt/lib/
cp -frv /lib/terminfo mnt/lib/
Compress init
umount mnt
xz -zv -9 -C crc32 init
chown fog:www-data init.xz