Skip to content

Commit

Permalink
Move ib confiig to .env
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG committed Nov 27, 2023
1 parent 4fccdef commit d703d7b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions modules/ib/post-files.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# 不需要的镜像
sed -i '/CONFIG_ISO_IMAGES/ c\# CONFIG_ISO_IMAGES is not set' .config
sed -i '/CONFIG_TARGET_IMAGES_PAD/ c\# CONFIG_TARGET_IMAGES_PAD is not set' .config
sed -i '/CONFIG_VDI_IMAGES/ c\# CONFIG_VDI_IMAGES is not set' .config
sed -i '/CONFIG_VMDK_IMAGES/ c\# CONFIG_VMDK_IMAGES is not set' .config
sed -i '/CONFIG_VHDX_IMAGES/ c\# CONFIG_VHDX_IMAGES is not set' .config

# printenv | grep 'CONFIG_', export all config
for config in $(printenv | grep '^CONFIG_'); do
config_name=$(echo $config | awk -F '=' '{print $1}')
config_value=$(echo $config | awk -F '=' '{print $2}')
Expand Down

0 comments on commit d703d7b

Please sign in to comment.