Chris Hagood 2 年之前
父节点
当前提交
a16010d309
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Template/22_04template.sh

+ 1 - 1
Template/22_04template.sh

@@ -15,4 +15,4 @@ sudo hostnamectl set-hostname localhost
 sudo rm /etc/netplan/*.*
 
 # Clean shell history
-cat /dev/null > ~/.bash_history && history -c
+sudo cat /dev/null > ~/.bash_history && history -c