Openstack
glance image customize
virt-customize를 사용하여 glance image 수정 방법 libguestfs-tools-c 패키지 설치 # yum install -y libguestfs-tools-c index.html 생성 $ vi /tmp/index.html hello # virt-customize 명령으로 아래 작업 수행 repository 파일 업로드 index.html 파일 업로드 httpd 패키지 설치 httpd 서비스 자동 활성화 httpd 서비스 시작 root 계정 패스워드 설정 : test1234 selinux 리라벨링 -> qcow2 내부의 repository 설정이 되어 있어야 yum 으로 패키지 설치 가능함 $ virt-customize -a /tmp/rhel7.qcow2 \ --upload /tmp..
2021. 5. 26. 11:35