Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : Recipes



Threaded Mode | Print  

 Recipes, Option not showing (3 Replies, Read 1795 times)
enginama
Group: Member
Post Group: Newbie
Posts: 37
Status:
So I am now trying to add some recipes and am struggling on 2 counts.
1. Trying to create recipe for ubuntu 16 iso to do apt-upgrade silently(non-interactive) on vps build. I am using:
Quote
DEBIAN_FRONTEND=noninteractive apt-get -y -o DPkg::options::="--force-confdef" -o DPkg::options::="--force-confold" upgrade
(need all the force commands cos of grub-pc)
This code runs fine when entering manually but recipe doesn't seem to run on vps build.

2. In user manage panel I would expect to see the recipes icon so this same recipe could be run manually by user, but not seeing it. I have checked that the disable recipes in configuration is NOT enabled.
IP: --   

Recipes
wolke
Group: NOC
Post Group: Elite Member
Posts: 437
Status:
recipes are written in bash.just enter

Code
apt-get  update -y

in your recipe and you are done.


Edited by wolke : October 14, 2019, 12:27 pm
IP: --   

Recipes
enginama
Group: Member
Post Group: Newbie
Posts: 37
Status:
I don't need to update, I need to upgrade. The code I have is to upgrade(it works if I enter it manually), the purpose is to force grub-pc to default. Without 'confdef' and 'confold' apt-upgrade -y doesn't work.
IP: --   

Recipes
wolke
Group: NOC
Post Group: Elite Member
Posts: 437
Status:
I have never had to change this.Doing
Code
apt-get update -y
followed by
Code
apt-get upgrade -y
always did the job.
You just may need to add further opton to the upgrade command (for being able to silently upgrade packages that have changes in their config file and so on.)


Edited by wolke : October 14, 2019, 12:28 pm
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 19, 2024, 5:52 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.022