Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
public:wipeliveserver [2019/03/13 17:00] – code preview Nico | public:wipeliveserver [2019/03/14 11:01] – don't mess with host's files Nico | ||
---|---|---|---|
Line 33: | Line 33: | ||
#cp -vrp / | #cp -vrp / | ||
cp -vrp /etc/* / | cp -vrp /etc/* / | ||
- | echo "" | + | echo "" |
- | echo " | + | echo " |
mount --make-rprivate / # necessary for pivot_root to work | mount --make-rprivate / # necessary for pivot_root to work | ||
pivot_root / | pivot_root / |