Browse Source

fix ubuntu.cfg

杨振 4 years ago
parent
commit
a669b4569f
1 changed files with 12 additions and 15 deletions
  1. 12 15
      pressed/ubuntu.cfg

+ 12 - 15
pressed/ubuntu.seed → pressed/ubuntu.cfg

@@ -19,14 +19,14 @@ d-i time/zone string Asia/Shanghai
 d-i partman/early_command \
     string debconf-set partman-auto/disk "$(echo /dev/`if [ -b /dev/nvme0n1 ];then echo nvme0n1;elif [ -b /dev/sda ];then echo sda; fi`)"
 
-d-i partman-auto/choose_recipe select yz_custom
 # d-i partman-auto/choose-recipe select atomic
+d-i partman-auto/choose_recipe select custom
 d-i partman-auto/method string regular
 d-i partman-lvm/device_remove_lvm boolean true
 d-i partman-md/device_remove_md boolean true
 
 d-i partman-auto/expert_recipe string                         \
-      yz_custom ::                                            \
+      custom ::                                               \
               512 10 1024 fat32                               \
                       $iflabel{ gpt }                         \
                       $reusemethod{ }                         \
@@ -37,7 +37,7 @@ d-i partman-auto/expert_recipe string                         \
                      method{ format } format{ }               \
                      use_filesystem{ } filesystem{ ext4 }     \
                      mountpoint{ /boot } .                    \
-              9000 30 20000 ext4                              \
+              20000 30 50000 ext4                             \
                       method{ format } format{ }              \
                       use_filesystem{ } filesystem{ ext4 }    \
                       mountpoint{ /opt } .                    \
@@ -63,17 +63,14 @@ d-i partman/confirm_nooverwrite boolean true
 d-i partman/default_filesystem string ext4
 d-i partman/mount_style select uuid
 
-d-i passwd/user-fullname 	string user
-d-i passwd/username 		string user
-d-i passwd/user-uid		    string 1000
-d-i passwd/auto-login 		boolean true
-d-i passwd/user-password	password qwe123
-d-i passwd/user-password-again	password qwe123
-d-i netcfg/get_hostname		string kylin
-
-d-i partman/late_command \
-    string echo 'fdafsa' >/tmp/aaa.log
+d-i passwd/user-fullname        string user
+d-i passwd/username             string user
+d-i passwd/user-uid             string 1000
+d-i passwd/auto-login           boolean true
+d-i passwd/user-password        password qwe123
+d-i passwd/user-password-again  password qwe123
+d-i netcfg/get_hostname         string kylin
 
 ## ubiquity
-# ubiquity ubiquity/summary note
-# ubiquity ubiquity/reboot boolean true
+ubiquity ubiquity/summary note
+ubiquity ubiquity/reboot boolean true