E Editor Well-Known Member Apr 26, 2017 108 1 58 Turkey Feb 1, 2018 #21 @dcsapak Yes, it works when replaced. Thank you again for your time.
fireon Distinguished Member Proxmox Subscriber Oct 25, 2010 4,565 532 183 Austria/Graz deepdoc.at Feb 1, 2018 #22 So please set your thread to solved. Thanks
E Editor Well-Known Member Apr 26, 2017 108 1 58 Turkey Feb 1, 2018 #23 fireon said: So please set your thread to solved. Thanks Click to expand... Absolutely
M moxfan Active Member Aug 28, 2013 104 7 38 Dec 3, 2019 #24 dcsapak said: works here: Code: # pct exec 300 -- apt -y install git Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u2). 0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded. Click to expand... Just trying to find out what the difference is between: Code: # pct exec 300 -- apt -y install git and Code: # lxc-attach -n 300 -e -- apt -y install git ?
dcsapak said: works here: Code: # pct exec 300 -- apt -y install git Reading package lists... Done Building dependency tree Reading state information... Done git is already the newest version (1:2.11.0-3+deb9u2). 0 upgraded, 0 newly installed, 0 to remove and 34 not upgraded. Click to expand... Just trying to find out what the difference is between: Code: # pct exec 300 -- apt -y install git and Code: # lxc-attach -n 300 -e -- apt -y install git ?
dcsapak Proxmox Staff Member Staff member Feb 1, 2016 10,426 1,611 273 36 Vienna Dec 3, 2019 #25 moxfan said: Just trying to find out what the difference is between: Click to expand... not much really, pct exec just calls 'lxc-attach -n ID -- YOUR COMMAND' but you get tab completion for the running vmids for example...
moxfan said: Just trying to find out what the difference is between: Click to expand... not much really, pct exec just calls 'lxc-attach -n ID -- YOUR COMMAND' but you get tab completion for the running vmids for example...